chore: update from_into.rs task description to fit the code
This commit is contained in:
1 parent
8d0aa11a35
commit
b70ed105db
1 file changed
+1
-1
@@ -24,7 +24,7 @@ impl Default for Person {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Your task is to complete this implementation in order for the line `let p =
|
// Your task is to complete this implementation in order for the line `let p1 =
|
||||||
// Person::from("Mark,20")` to compile Please note that you'll need to parse the
|
// Person::from("Mark,20")` to compile Please note that you'll need to parse the
|
||||||
// age component into a `usize` with something like `"4".parse::<usize>()`. The
|
// age component into a `usize` with something like `"4".parse::<usize>()`. The
|
||||||
// outcome of this needs to be handled appropriately.
|
// outcome of this needs to be handled appropriately.
|
||||||
|
|||||||
Reference in new issue
Block a user