Skip to content

Commit 6948905

Browse files
authored
Merge pull request #737 from ghost/correct-small-typo
Correct small typo in exercises/conversions/from_str.rs
2 parents ba087ce + 8794b40 commit 6948905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/conversions/from_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct Person {
2020
// 4. Extract the first element from the split operation and use it as the name
2121
// 5. Extract the other element from the split operation and parse it into a `usize` as the age
2222
// with something like `"4".parse::<usize>()`
23-
// 5. If while extracting the name and the age something goes wrong, an error should be returned
23+
// 6. If while extracting the name and the age something goes wrong, an error should be returned
2424
// If everything goes well, then return a Result of a Person object
2525

2626
impl FromStr for Person {

0 commit comments

Comments
 (0)