summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-06-27 11:30:42 +0200
committermo8it <mo8it@proton.me>2024-06-27 11:30:42 +0200
commit92f249a52ca993d65db6ed70b85535c2f1720ec3 (patch)
treefa3d6174d0d54679fa8218efeb9dda079c831c28 /exercises
parent789223cc9e247eb9da90698b1c3011c26cdc863c (diff)
parente6228e92b4df766bddb8524ed42d66690348f100 (diff)
Merge branch 'main'
Diffstat (limited to 'exercises')
-rw-r--r--exercises/11_hashmaps/hashmaps1.rs2
-rw-r--r--exercises/23_conversions/from_into.rs2
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 {}