about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbellau <laurent.belmonte@gmail.com>2022-02-12 17:31:17 +0100
committerbellau <laurent.belmonte@gmail.com>2022-02-12 17:31:17 +0100
commit3ed19d54db4b85374b13ae06d9a6047d0a26f2d9 (patch)
treea256d7a7bd548840b84b25833ee96461e4ea78c9
parent200860794651c3dcae7dced3de1fe99bea2cd692 (diff)
downloadrust-3ed19d54db4b85374b13ae06d9a6047d0a26f2d9.tar.gz
rust-3ed19d54db4b85374b13ae06d9a6047d0a26f2d9.zip
Fix style
-rw-r--r--crates/parser/src/grammar/items.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/grammar/items.rs b/crates/parser/src/grammar/items.rs
index e583ff782b6..066e809c148 100644
--- a/crates/parser/src/grammar/items.rs
+++ b/crates/parser/src/grammar/items.rs
@@ -230,7 +230,7 @@ fn opt_item_without_modifiers(p: &mut Parser, m: Marker) -> Result<(), Marker> {
         IDENT if p.at_contextual_kw(T![macro_rules]) && p.nth(1) == BANG => macro_rules(p, m),
 
         T![const] if (la == IDENT || la == T![_] || la == T![mut]) => consts::konst(p, m),
-        T![static] if (la != PIPE && la != T![move] ) => consts::static_(p, m),
+        T![static] if (la != PIPE && la != T![move]) => consts::static_(p, m),
 
         _ => return Err(m),
     };