Merge pull request #737 from ghost/correct-small-typo

Correct small typo in exercises/conversions/from_str.rs
This commit is contained in:
fmoko 2021-07-08 11:07:21 +02:00 committed by GitHub
commit 6948905716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {