• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1A macro to evaluate, as a boolean, whether an expression matches a pattern.
2
3For users who build using only Rust 1.42 and newer, consider using [`std::matches`], which
4is included in the [standard library prelude] and thus is automatically in scope.
5
6[`std::matches`]: core::matches
7[standard library prelude]: https://doc.rust-lang.org/stable/reference/names/preludes.html
8