progress(modules + hashmaps): finished modules and almost done hashmaps

This commit is contained in:
2026-07-26 02:09:37 +02:00
parent f0f6a72101
commit 2844976587
6 changed files with 12 additions and 53 deletions
+3 -1
View File
@@ -28,10 +28,12 @@ fn fruit_basket(basket: &mut HashMap<Fruit, u32>) {
Fruit::Pineapple,
];
for fruit in fruit_kinds {
for _fruit in fruit_kinds {
// TODO: Insert new fruits if they are not already present in the
// basket. Note that you are not allowed to put any type of fruit that's
// already present!
basket.insert(Fruit::Banana, 4);
basket.insert(Fruit::Pineapple, 3);
}
}