mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-24 14:37:32 -05:00
2f4e63b443
In the instructions for hashmaps2.rs, the last sentence of the include the phrase "these fruits", which refers to fruits that were mentioned two sentences prior. Having a sentence in between the first sentence in which the fruits were described and a later sentence in which the phrase "these fruits" is used makes this confusing to read, since the phrase "these fruits" does not come immediately after the mention of the fruits that the phrase refers to. This pull request expands the last sentence to explicitly refer to the fruits being mentioned, in order to add clarity about the requirement of the exercise. |
||
---|---|---|
.. | ||
hashmaps1.rs | ||
hashmaps2.rs | ||
hashmaps3.rs | ||
README.md |
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.