Skip to content

Commit

Permalink
fix(from_into.rs): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jihchi authored Apr 30, 2020
1 parent de65026 commit a901499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/conversions/from_into.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
}
Expand Down

0 comments on commit a901499

Please sign in to comment.