R

Ravina • 3.96K Points
Extraordinary

Q. Which trait must be implemented to allow a type to be formatted using {:?}?

  • (A) Display
  • (B) ToString
  • (C) Debug
  • (D) Printable
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category Rust
  • Hashtags:

Explanation by: Ravina
`Debug` is used for formatting with {:?}.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.