Skip to content

Commit

Permalink
Merge pull request rust-lang#737 from ghost/correct-small-typo
Browse files Browse the repository at this point in the history
Correct small typo in exercises/conversions/from_str.rs
  • Loading branch information
shadows-withal authored Jul 8, 2021
2 parents 477845a + 3dc44d6 commit 7432c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/conversions/from_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct Person {
// 4. Extract the first element from the split operation and use it as the name
// 5. Extract the other element from the split operation and parse it into a `usize` as the age
// with something like `"4".parse::<usize>()`
// 5. If while extracting the name and the age something goes wrong, an error should be returned
// 6. If while extracting the name and the age something goes wrong, an error should be returned
// If everything goes well, then return a Result of a Person object

impl FromStr for Person {
Expand Down

0 comments on commit 7432c3f

Please sign in to comment.