diff options
| author | Greg Leonard <45019882+greg-el@users.noreply.github.com> | 2020-09-25 12:39:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-25 13:39:52 +0200 |
| commit | 2933f51949283c80190aca0a0ae06ee723263cc1 (patch) | |
| tree | d3ff3cc4cea9aa704c21533b117bb5d87f112048 /exercises/conversions/from_into.rs | |
| parent | a75300b8c7e8bdc2014163036decebbd30863e99 (diff) | |
chore: Change point to comma in from_into.rs
A typo in the fn test_bad_age() hint message had a point rather than comma
Prev:
// Test that "Mark.twenty"
Current:
// Test that "Mark,twenty"
Diffstat (limited to 'exercises/conversions/from_into.rs')
| -rw-r--r-- | exercises/conversions/from_into.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/conversions/from_into.rs b/exercises/conversions/from_into.rs index 4f4da53..f24cf61 100644 --- a/exercises/conversions/from_into.rs +++ b/exercises/conversions/from_into.rs @@ -75,7 +75,7 @@ mod tests { } #[test] fn test_bad_age() { - // Test that "Mark.twenty" will return the default person due to an error in parsing age + // Test that "Mark,twenty" will return the default person due to an error in parsing age let p = Person::from("Mark,twenty"); assert_eq!(p.name, "John"); assert_eq!(p.age, 30); |
