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"
This commit is contained in:
greg-el 2020-09-14 17:00:32 +01:00
parent 3286c5ec19
commit ff899219ef

View file

@ -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);