We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[inline]
Debug
cfg(no_fp_fmt_parse)
1 parent 685a80f commit 827711dCopy full SHA for 827711d
library/core/src/fmt/nofloat.rs
@@ -4,6 +4,7 @@ macro_rules! floating {
4
($ty:ident) => {
5
#[stable(feature = "rust1", since = "1.0.0")]
6
impl Debug for $ty {
7
+ #[inline]
8
fn fmt(&self, _fmt: &mut Formatter<'_>) -> Result {
9
panic!("floating point support is turned off");
10
}
0 commit comments