Skip to content

Commit 2933f51

Browse files
authored
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"
1 parent a75300b commit 2933f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/conversions/from_into.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ mod tests {
7575
}
7676
#[test]
7777
fn test_bad_age() {
78-
// Test that "Mark.twenty" will return the default person due to an error in parsing age
78+
// Test that "Mark,twenty" will return the default person due to an error in parsing age
7979
let p = Person::from("Mark,twenty");
8080
assert_eq!(p.name, "John");
8181
assert_eq!(p.age, 30);

0 commit comments

Comments
 (0)