Skip to content

Commit bc4b0a6

Browse files
authored
Add matches! checking to nonstandard_macro_braces
1 parent 7b8c4a9 commit bc4b0a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clippy_lints/src/nonstandard_macro_braces.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ fn macro_braces(conf: FxHashSet<MacroMatcher>) -> FxHashMap<String, (String, Str
184184
name: "vec",
185185
braces: ("[", "]"),
186186
),
187+
macro_matches!(
188+
name: "matches",
189+
braces: ("(", ")"),
190+
),
187191
]
188192
.into_iter()
189193
.collect::<FxHashMap<_, _>>();

0 commit comments

Comments
 (0)