Skip to content

Commit

Permalink
Add tracking issue for the matches! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Oct 23, 2019
1 parent 7472cd4 commit f7ebe19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f7ebe19

Please sign in to comment.