Home / Report Question

Q. What does the `match` keyword do in Rust?
  • A. It checks string equality
  • B. It is used for pattern matching
  • C. It creates loops
  • D. It assigns values