1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-10 12:36:09 +02:00
rustlings/exercises/11_hashmaps
Evan Miller 19b5e24d5c
Update hashmaps3.rs description for clarity
I struggled with this exercise and didn't understand that it was looking for a summary of goals scored/conceded per team, instead of per match.

My goal here is just to clarify the language, essentially saying "the total number of goals the team scored" to indicate that we are looking for a sum.

Updated the exercise description to clarify this point.

Relates loosely to closed issue https://github.com/rust-lang/rustlings/issues/1361
2024-03-04 10:38:09 -05:00
..
README.md Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
hashmaps1.rs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
hashmaps2.rs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
hashmaps3.rs Update hashmaps3.rs description for clarity 2024-03-04 10:38:09 -05:00

Hashmaps

A hash map allows you to associate a value with a particular key. You may also know this by the names unordered map in C++, dictionary in Python or an associative array in other languages.

This is the other data structure that we've been talking about before, when talking about Vecs.

Further information