tree: 5aecca2240a6fde3844264a888eee91386df7939 [path history] [tgz]
  1. tests/
  2. .android-checksum.json
  3. .cargo-checksum.json
  4. Android.bp
  5. Cargo.toml
  6. cargo_embargo.json
  7. lib.rs
  8. LICENSE
  9. METADATA
  10. MODULE_LICENSE_MIT
  11. README.md
  12. TEST_MAPPING
crates/matches/README.md

A macro to evaluate, as a boolean, whether an expression matches a pattern.

For users who build using only Rust 1.42 and newer, consider using std::matches, which is included in the standard library prelude and thus is automatically in scope.