File: README.md

package info (click to toggle)
rust-matches 0.1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 92 kB
  • sloc: makefile: 4
file content (7 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
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.

[`std::matches`]: core::matches
[standard library prelude]: https://doc.rust-lang.org/stable/reference/names/preludes.html