Skip to content

Commit a901499

Browse files
authored
fix(from_into.rs): typo
1 parent de65026 commit a901499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/conversions/from_into.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl Default for Person {
3131
// 3. Extract the first element from the split operation and use it as the name
3232
// 4. Extract the other element from the split operation and parse it into a `usize` as the age
3333
// If while parsing the age, something goes wrong, then return the default of Person
34-
// Otherwise, then return an instantiated Person onject with the results
34+
// Otherwise, then return an instantiated Person object with the results
3535
impl From<&str> for Person {
3636
fn from(s: &str) -> Person {
3737
}

0 commit comments

Comments
 (0)