mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Add comment to helper function
This commit is contained in:
parent
1e7e2e40e4
commit
f233abb909
@ -66,6 +66,7 @@ where
|
||||
assert_eq!(ten.rem(two), ten % two);
|
||||
}
|
||||
|
||||
/// Helper function for asserting number parsing returns a specific error
|
||||
fn test_parse<T>(num_str: &str, expected: Result<T, IntErrorKind>)
|
||||
where
|
||||
T: FromStr<Err = ParseIntError>,
|
||||
|
Loading…
Reference in New Issue
Block a user