Add comment to helper function

This commit is contained in:
Ethan Brierley 2020-10-07 08:02:36 +01:00
parent 1e7e2e40e4
commit f233abb909

View File

@ -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>,