@@ -18,15 +18,15 @@ use crate::num::FpCategory;
1818#[ rustc_deprecated(
1919 since = "1.46.0" ,
2020 reason = "The associated constant `f32::RADIX` is now prefered" ,
21- suggestion = "f32::RADIX" ,
21+ suggestion = "f32::RADIX"
2222) ]
2323pub const RADIX : u32 = f32:: RADIX ;
2424
2525/// Number of significant digits in base 2.
2626#[ rustc_deprecated(
2727 since = "1.46.0" ,
2828 reason = "The associated constant `f32::MANTISSA_DIGITS` is now prefered" ,
29- suggestion = "f32::MANTISSA_DIGITS" ,
29+ suggestion = "f32::MANTISSA_DIGITS"
3030) ]
3131#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3232pub const MANTISSA_DIGITS : u32 = f32:: MANTISSA_DIGITS ;
@@ -36,7 +36,7 @@ pub const MANTISSA_DIGITS: u32 = f32::MANTISSA_DIGITS;
3636#[ rustc_deprecated(
3737 since = "1.46.0" ,
3838 reason = "The associated constant `f32::DIGITS` is now prefered" ,
39- suggestion = "f32::DIGITS" ,
39+ suggestion = "f32::DIGITS"
4040) ]
4141pub const DIGITS : u32 = f32:: DIGITS ;
4242
@@ -47,7 +47,7 @@ pub const DIGITS: u32 = f32::DIGITS;
4747#[ rustc_deprecated(
4848 since = "1.46.0" ,
4949 reason = "The associated constant `f32::EPSILON` is now prefered" ,
50- suggestion = "f32::EPSILON" ,
50+ suggestion = "f32::EPSILON"
5151) ]
5252pub const EPSILON : f32 = f32:: EPSILON ;
5353
@@ -56,7 +56,7 @@ pub const EPSILON: f32 = f32::EPSILON;
5656#[ rustc_deprecated(
5757 since = "1.46.0" ,
5858 reason = "The associated constant `f32::MIN` is now prefered" ,
59- suggestion = "f32::MIN" ,
59+ suggestion = "f32::MIN"
6060) ]
6161pub const MIN : f32 = f32:: MIN ;
6262
@@ -65,7 +65,7 @@ pub const MIN: f32 = f32::MIN;
6565#[ rustc_deprecated(
6666 since = "1.46.0" ,
6767 reason = "The associated constant `f32::MIN_POSITIVE` is now prefered" ,
68- suggestion = "f32::MIN_POSITIVE" ,
68+ suggestion = "f32::MIN_POSITIVE"
6969) ]
7070pub const MIN_POSITIVE : f32 = f32:: MIN_POSITIVE ;
7171
@@ -74,7 +74,7 @@ pub const MIN_POSITIVE: f32 = f32::MIN_POSITIVE;
7474#[ rustc_deprecated(
7575 since = "1.46.0" ,
7676 reason = "The associated constant `f32::MAX` is now prefered" ,
77- suggestion = "f32::MAX" ,
77+ suggestion = "f32::MAX"
7878) ]
7979pub const MAX : f32 = f32:: MAX ;
8080
@@ -83,7 +83,7 @@ pub const MAX: f32 = f32::MAX;
8383#[ rustc_deprecated(
8484 since = "1.46.0" ,
8585 reason = "The associated constant `f32::MIN_EXP` is now prefered" ,
86- suggestion = "f32::MIN_EXP" ,
86+ suggestion = "f32::MIN_EXP"
8787) ]
8888pub const MIN_EXP : i32 = f32:: MIN_EXP ;
8989
@@ -92,7 +92,7 @@ pub const MIN_EXP: i32 = f32::MIN_EXP;
9292#[ rustc_deprecated(
9393 since = "1.46.0" ,
9494 reason = "The associated constant `f32::MAX_EXP` is now prefered" ,
95- suggestion = "f32::MAX_EXP" ,
95+ suggestion = "f32::MAX_EXP"
9696) ]
9797pub const MAX_EXP : i32 = f32:: MAX_EXP ;
9898
@@ -101,7 +101,7 @@ pub const MAX_EXP: i32 = f32::MAX_EXP;
101101#[ rustc_deprecated(
102102 since = "1.46.0" ,
103103 reason = "The associated constant `f32::MIN_10_EXP` is now prefered" ,
104- suggestion = "f32::MIN_10_EXP" ,
104+ suggestion = "f32::MIN_10_EXP"
105105) ]
106106pub const MIN_10_EXP : i32 = f32:: MIN_10_EXP ;
107107
@@ -110,7 +110,7 @@ pub const MIN_10_EXP: i32 = f32::MIN_10_EXP;
110110#[ rustc_deprecated(
111111 since = "1.46.0" ,
112112 reason = "The associated constant `f32::MAX_10_EXP` is now prefered" ,
113- suggestion = "f32::MAX_10_EXP" ,
113+ suggestion = "f32::MAX_10_EXP"
114114) ]
115115pub const MAX_10_EXP : i32 = f32:: MAX_10_EXP ;
116116
@@ -119,7 +119,7 @@ pub const MAX_10_EXP: i32 = f32::MAX_10_EXP;
119119#[ rustc_deprecated(
120120 since = "1.46.0" ,
121121 reason = "The associated constant `f32::NAN` is now prefered" ,
122- suggestion = "f32::NAN" ,
122+ suggestion = "f32::NAN"
123123) ]
124124pub const NAN : f32 = f32:: NAN ;
125125
@@ -128,7 +128,7 @@ pub const NAN: f32 = f32::NAN;
128128#[ rustc_deprecated(
129129 since = "1.46.0" ,
130130 reason = "The associated constant `f32::INFINITY` is now prefered" ,
131- suggestion = "f32::INFINITY" ,
131+ suggestion = "f32::INFINITY"
132132) ]
133133pub const INFINITY : f32 = f32:: INFINITY ;
134134
@@ -137,7 +137,7 @@ pub const INFINITY: f32 = f32::INFINITY;
137137#[ rustc_deprecated(
138138 since = "1.46.0" ,
139139 reason = "The associated constant `f32::NEG_INFINITY` is now prefered" ,
140- suggestion = "f32::NEG_INFINITY" ,
140+ suggestion = "f32::NEG_INFINITY"
141141) ]
142142pub const NEG_INFINITY : f32 = f32:: NEG_INFINITY ;
143143
0 commit comments