A macro to evaluate, as a boolean, whether an expression matches a pattern.
# Cargo.toml
[dependencies]
matches = "0.1.10"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Use the matches! macro to test if a value matches a pattern.
Replace with std::matches! and remove the dependency.
No dependency data recorded yet.