summaryrefslogtreecommitdiff
path: root/exercises/conversions/from_into.rs
diff options
context:
space:
mode:
authorJihchi Lee <jihchi@users.noreply.github.com>2020-04-30 21:53:50 +0800
committerGitHub <noreply@github.com>2020-04-30 15:53:50 +0200
commita901499ededd3ce1995164700514fe4e9a0373ea (patch)
treeacbe7cd23e42eac5c0051fd9e8bcc58b829eea9c /exercises/conversions/from_into.rs
parentde65026db0cc44e0cafff418f731663f5c1e14a4 (diff)
fix(from_into.rs): typo
Diffstat (limited to 'exercises/conversions/from_into.rs')
-rw-r--r--exercises/conversions/from_into.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/conversions/from_into.rs b/exercises/conversions/from_into.rs
index 58b860e..c5cba23 100644
--- a/exercises/conversions/from_into.rs
+++ b/exercises/conversions/from_into.rs
@@ -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 {
}