Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
Which requirement must a HashMap key type satisfy beyond Hash and Eq?
A
Keys must be Copy
B
Keys must be at most 8 bytes
C
Keys must implement Ord
D
a == b must imply hash(a) == hash(b), and the key must not change while in the map