matches 0.1.10

This commit is contained in:
Simon Sapin
2023-01-21 22:20:33 +01:00
parent 07a0a41f80
commit 099d56d972
2 changed files with 8 additions and 2 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
[package]
name = "matches"
version = "0.1.9"
authors = ["Simon Sapin <simon.sapin@exyr.org>"]
version = "0.1.10"
license = "MIT"
repository = "https://github.com/SimonSapin/rust-std-candidates"
description = "A macro to evaluate, as a boolean, whether an expression matches a pattern."
+7
View File
@@ -0,0 +1,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