S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which trait is used for formatting types as strings?

  • (A) Clone
  • (B) Display
  • (C) Debug
  • (D) PartialEq
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey

Display allows types to be formatted using {}.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.