We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 942bafa commit 096da58Copy full SHA for 096da58
library/core/tests/num/int_macros.rs
@@ -247,7 +247,7 @@ macro_rules! int_module {
247
assert_eq!($T::from_str_radix("Z", 35).ok(), None::<$T>);
248
assert_eq!($T::from_str_radix("-9", 2).ok(), None::<$T>);
249
assert_eq!($T::from_str_radix("10_0", 10).ok(), None::<$T>);
250
- assert_eq!(u32::from_str_radix("-9", 10).ok(), None::<$T>);
+ assert_eq!(u32::from_str_radix("-9", 10).ok(), None::<u32>);
251
}
252
253
#[test]
0 commit comments