mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 23:10:30 +00:00
Compare commits
3 commits
93198ac24d
...
1a76ac9e05
Author | SHA1 | Date | |
---|---|---|---|
|
1a76ac9e05 | ||
|
e852e60416 | ||
|
bf7d171915 |
1 changed files with 1 additions and 1 deletions
|
@ -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>()`.
|
||||||
|
|
Loading…
Reference in a new issue