chore: Alter whitespace for consistency

* Add newline after "I AM DONE" in exercises for consistency
* Remove trailing whitespace from exercises
This commit is contained in:
Benjamin Jones
2020-07-10 19:01:38 -07:00
committed by Benjamin Jones
parent 106dbbc341
commit bb5f404e35
10 changed files with 34 additions and 29 deletions

View File

@@ -18,7 +18,6 @@ impl Default for Person {
}
}
// I AM NOT DONE
// Your task is to complete this implementation
// in order for the line `let p = Person::from("Mark,20")` to compile
// Please note that you'll need to parse the age component into a `usize`
@@ -33,6 +32,9 @@ impl Default for Person {
// 5. 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 object with the results
// I AM NOT DONE
impl From<&str> for Person {
fn from(s: &str) -> Person {
}