1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2026-05-04 20:54:09 +02:00

Merge pull request #1832 from reifenrath-dev/main

chore: update from_into.rs task description to fit the code
This commit is contained in:
liv
2024-03-15 13:52:38 +01:00
committed by GitHub
+1 -1
View File
@@ -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
// age component into a `usize` with something like `"4".parse::<usize>()`. The
// outcome of this needs to be handled appropriately.