S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which trait is required to use a type in a HashMap key?

  • (A) Display
  • (B) Hash
  • (C) Clone
  • (D) Copy
  • Correct Answer - Option(B)
  • Views: 35
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey

Hash is needed for a type to be used as a key in a HashMap.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.