https://doc.rust-lang.org/std/collections/hash_map/struct.Ha...
You might be getting confused because in that example the `HashMap` keys are references.