diff options
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/11_hashmaps/hashmaps1.rs | 2 | ||||
| -rw-r--r-- | exercises/23_conversions/from_into.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/11_hashmaps/hashmaps1.rs b/exercises/11_hashmaps/hashmaps1.rs index 0df7000..74001d0 100644 --- a/exercises/11_hashmaps/hashmaps1.rs +++ b/exercises/11_hashmaps/hashmaps1.rs @@ -1,7 +1,7 @@ // A basket of fruits in the form of a hash map needs to be defined. The key // represents the name of the fruit and the value represents how many of that // particular fruit is in the basket. You have to put at least 3 different -// types of fruits (e.g apple, banana, mango) in the basket and the total count +// types of fruits (e.g. apple, banana, mango) in the basket and the total count // of all the fruits should be at least 5. use std::collections::HashMap; diff --git a/exercises/23_conversions/from_into.rs b/exercises/23_conversions/from_into.rs index 9df10da..14a62ba 100644 --- a/exercises/23_conversions/from_into.rs +++ b/exercises/23_conversions/from_into.rs @@ -33,7 +33,7 @@ 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 +// Person. Otherwise, then return an instantiated Person object with the results impl From<&str> for Person { fn from(s: &str) -> Person {} |
