mirror of
https://github.com/openharmony/third_party_rust_rust-std-candidates.git
synced 2026-06-30 20:47:55 -04:00
matches 0.1.10
This commit is contained in:
+1
-2
@@ -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."
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user