doc: Update collections exercises instruction to match the standard naming

This commit is contained in:
Mickael Fortunato
2021-03-18 18:45:01 +01:00
parent bef39b1259
commit ab9995e76e
4 changed files with 6 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
//
// Make me pass the tests!
//
// Execute the command `rustlings hint collections4` if you need
// Execute the command `rustlings hint hashmap2` if you need
// hints.
// I AM NOT DONE
@@ -75,9 +75,7 @@ mod tests {
fn greater_than_eleven_fruits() {
let mut basket = get_fruit_basket();
fruit_basket(&mut basket);
let count = basket
.values()
.sum::<u32>();
let count = basket.values().sum::<u32>();
assert!(count > 11);
}
}