Merge pull request #2124 from Polycarbohydrate/main
Some checks failed
Rustlings Tests / clippy (push) Has been cancelled
Rustlings Tests / fmt (push) Has been cancelled
Rustlings Tests / test (macOS-latest) (push) Has been cancelled
Rustlings Tests / test (ubuntu-latest) (push) Has been cancelled
Rustlings Tests / test (windows-latest) (push) Has been cancelled
Rustlings Tests / dev-check (push) Has been cancelled
Web / Build and deploy site and docs (push) Has been cancelled

fix: typo in `exercises/23_conversions/from_str.rs`
This commit is contained in:
Mo 2024-10-06 01:50:18 +02:00 committed by GitHub
commit e852e60416
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ enum ParsePersonError {
ParseInt(ParseIntError), ParseInt(ParseIntError),
} }
// TODO: Complete this `From` implementation to be able to parse a `Person` // TODO: Complete this `FromStr` implementation to be able to parse a `Person`
// out of a string in the form of "Mark,20". // out of a string in the form of "Mark,20".
// Note that you'll need to parse the age component into a `u8` with something // Note that you'll need to parse the age component into a `u8` with something
// like `"4".parse::<u8>()`. // like `"4".parse::<u8>()`.