Skip to content

Commit da0b860

Browse files
Satisfy rustfmt
1 parent 75192f7 commit da0b860

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/ra_parser/src/grammar/patterns.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ const PAT_RECOVERY_SET: TokenSet =
5858
fn atom_pat(p: &mut Parser, recovery_set: TokenSet) -> Option<CompletedMarker> {
5959
// Checks the token after an IDENT to see if a pattern is a path (Struct { .. }) or macro
6060
// (T![x]).
61-
let is_path_or_macro_pat = |la1| {
62-
la1 == T![::] || la1 == T!['('] || la1 == T!['{'] || la1 == T![!]
63-
};
61+
let is_path_or_macro_pat =
62+
|la1| la1 == T![::] || la1 == T!['('] || la1 == T!['{'] || la1 == T![!];
6463

6564
let m = match p.nth(0) {
6665
T![box] => box_pat(p),

0 commit comments

Comments
 (0)