summaryrefslogtreecommitdiff
path: root/exercises/conversions
diff options
context:
space:
mode:
authorMartin HART <82845873+martinhartxyz@users.noreply.github.com>2021-04-27 20:22:13 +0200
committerMartin HART <82845873+martinhartxyz@users.noreply.github.com>2021-04-27 21:11:40 +0200
commit86cc85295ae36948963ae52882e285d7e3e29323 (patch)
tree187f86823a5634ba0b5e4921a877d9da56b691d1 /exercises/conversions
parentafa661cff4fa9ac5133a6efc9e85e01c29febf85 (diff)
fix: Correct small typo in exercises/conversions/from_str.rs
Diffstat (limited to 'exercises/conversions')
-rw-r--r--exercises/conversions/from_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/conversions/from_str.rs b/exercises/conversions/from_str.rs
index 4beebac..93a5299 100644
--- a/exercises/conversions/from_str.rs
+++ b/exercises/conversions/from_str.rs
@@ -20,7 +20,7 @@ struct Person {
// 4. Extract the first element from the split operation and use it as the name
// 5. Extract the other element from the split operation and parse it into a `usize` as the age
// with something like `"4".parse::<usize>()`
-// 5. If while extracting the name and the age something goes wrong, an error should be returned
+// 6. If while extracting the name and the age something goes wrong, an error should be returned
// If everything goes well, then return a Result of a Person object
impl FromStr for Person {