Add tracking issue for the matches! macro
https://github.com/rust-lang/rust/issues/65721
This commit is contained in:
parent
7472cd46aa
commit
f7ebe19338
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ macro_rules! debug_assert_ne {
|
|||
/// assert!(matches!(bar, Some(x) if x > 2));
|
||||
/// ```
|
||||
#[macro_export]
|
||||
#[unstable(feature = "matches_macro", issue = "0")]
|
||||
#[unstable(feature = "matches_macro", issue = "65721")]
|
||||
macro_rules! matches {
|
||||
($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )?) => {
|
||||
match $expression {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue