A

Admin • 833.24K Points
Coach

Q. Which standard trait allows you to compare two values for equality?

  • (A) Ord
  • (B) Eq
  • (C) PartialEq
  • (D) Compare
  • Correct Answer - Option(C)
  • Views: 39
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`PartialEq` is the trait used for `==` and `!=` comparisons.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.