A

Admin • 833.24K Points
Coach

Q. Which collection type allows key-value pairs in Rust?

  • (A) Vec
  • (B) Tuple
  • (C) HashMap
  • (D) Array
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`HashMap` is a collection that stores key-value pairs.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.