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 1e7e2e4 commit f233abbCopy full SHA for f233abb
library/core/tests/num/mod.rs
@@ -66,6 +66,7 @@ where
66
assert_eq!(ten.rem(two), ten % two);
67
}
68
69
+/// Helper function for asserting number parsing returns a specific error
70
fn test_parse<T>(num_str: &str, expected: Result<T, IntErrorKind>)
71
where
72
T: FromStr<Err = ParseIntError>,
0 commit comments