We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
matches!
1 parent 7472cd4 commit f7ebe19Copy full SHA for f7ebe19
src/libcore/macros.rs
@@ -252,7 +252,7 @@ macro_rules! debug_assert_ne {
252
/// assert!(matches!(bar, Some(x) if x > 2));
253
/// ```
254
#[macro_export]
255
-#[unstable(feature = "matches_macro", issue = "0")]
+#[unstable(feature = "matches_macro", issue = "65721")]
256
macro_rules! matches {
257
($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )?) => {
258
match $expression {
0 commit comments