S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which keyword is used to handle both Result and Option conveniently?

  • (A) unwrap
  • (B) ?
  • (C) match
  • (D) ok
  • Correct Answer - Option(B)
  • Views: 13
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey
The ? operator propagates errors for Result and Option types.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.