diff options
Diffstat (limited to 'src/libcoretest/num/uint_macros.rs')
| -rw-r--r-- | src/libcoretest/num/uint_macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcoretest/num/uint_macros.rs b/src/libcoretest/num/uint_macros.rs index 6238c6d43e3..25591db64d9 100644 --- a/src/libcoretest/num/uint_macros.rs +++ b/src/libcoretest/num/uint_macros.rs @@ -14,7 +14,7 @@ mod tests { use core::$T_i::*; use num; use core::ops::{BitOr, BitAnd, BitXor, Shl, Shr, Not}; - use std::str; + use std::str::FromStr; #[test] fn test_overflows() { @@ -152,5 +152,5 @@ mod tests { assert_eq!($T::from_str_radix("Z", 10).ok(), None::<$T>); assert_eq!($T::from_str_radix("_", 2).ok(), None::<$T>); } - +} )} |
