A

Admin • 825.56K Points
Coach

Q. What does the `Default` trait provide?

  • (A) A way to clone values
  • (B) A default value for a type
  • (C) Formatted output
  • (D) Runtime error propagation
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`Default` provides a way to create a default value of a type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.