File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2990,12 +2990,12 @@ fn generate_node(
29902990
29912991 ( type_:: Float32 ( ( ) ) , value:: Float32 ( f) ) => {
29922992 let literal = match f. classify ( ) {
2993- std:: num:: FpCategory :: Nan => "::core:: f32::NAN" . into ( ) ,
2993+ std:: num:: FpCategory :: Nan => "f32::NAN" . into ( ) ,
29942994 std:: num:: FpCategory :: Infinite => {
29952995 if f. is_sign_positive ( ) {
2996- "::core:: f32::INFINITY" . into ( )
2996+ "f32::INFINITY" . into ( )
29972997 } else {
2998- "::core:: f32::NEG_INFINITY" . into ( )
2998+ "f32::NEG_INFINITY" . into ( )
29992999 }
30003000 }
30013001 _ => format ! ( "{f:e}" ) ,
@@ -3005,12 +3005,12 @@ fn generate_node(
30053005
30063006 ( type_:: Float64 ( ( ) ) , value:: Float64 ( f) ) => {
30073007 let literal = match f. classify ( ) {
3008- std:: num:: FpCategory :: Nan => "::core:: f64::NAN" . into ( ) ,
3008+ std:: num:: FpCategory :: Nan => "f64::NAN" . into ( ) ,
30093009 std:: num:: FpCategory :: Infinite => {
30103010 if f. is_sign_positive ( ) {
3011- "::core:: f64::INFINITY" . into ( )
3011+ "f64::INFINITY" . into ( )
30123012 } else {
3013- "::core:: f64::NEG_INFINITY" . into ( )
3013+ "f64::NEG_INFINITY" . into ( )
30143014 }
30153015 }
30163016 _ => format ! ( "{f:e}" ) ,
You can’t perform that action at this time.
0 commit comments