mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
fix(from_into.rs): typo
This commit is contained in:
parent
de65026db0
commit
a901499ede
|
@ -31,7 +31,7 @@ impl Default for Person {
|
|||
// 3. Extract the first element from the split operation and use it as the name
|
||||
// 4. Extract the other element from the split operation and parse it into a `usize` as the age
|
||||
// If while parsing the age, something goes wrong, then return the default of Person
|
||||
// Otherwise, then return an instantiated Person onject with the results
|
||||
// Otherwise, then return an instantiated Person object with the results
|
||||
impl From<&str> for Person {
|
||||
fn from(s: &str) -> Person {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue