]> git.lizzy.rs Git - rust.git/blobdiff - library/core/tests/num/nan.rs
Update tests to remove old numeric constants
[rust.git] / library / core / tests / num / nan.rs
index 011ffa790beeecbbf8301c9cbaffbac4565b92c7..ef81988c9612f8d952d920344ea98f018d3036c5 100644 (file)
@@ -1,6 +1,5 @@
 #[test]
 fn test_nan() {
-    use core::f64;
     let x = "NaN".to_string();
     assert_eq!(format!("{}", f64::NAN), x);
     assert_eq!(format!("{:e}", f64::NAN), x);