A

Admin • 833.24K Points
Coach

Q. What does the `IntoIterator` trait do?

  • (A) Turns a collection into an iterator
  • (B) Sorts a collection
  • (C) Converts numbers to strings
  • (D) Clones collections
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`IntoIterator` allows a type to be converted into an iterator.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.