diff options
| author | bellau <laurent.belmonte@gmail.com> | 2022-02-12 15:35:06 +0100 |
|---|---|---|
| committer | bellau <laurent.belmonte@gmail.com> | 2022-02-12 15:35:06 +0100 |
| commit | 1284bc0af32c7bf772150c3e64f8a867d4f533be (patch) | |
| tree | 7fe9b75c3877b8d62403c233cc244558f9e3d081 | |
| parent | ccab6afabc931ff323a6d0199b157e03f6c3d180 (diff) | |
| download | rust-1284bc0af32c7bf772150c3e64f8a867d4f533be.tar.gz rust-1284bc0af32c7bf772150c3e64f8a867d4f533be.zip | |
Fix styles
| -rw-r--r-- | crates/parser/src/grammar/items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/grammar/items.rs b/crates/parser/src/grammar/items.rs index ab3c8a8a8b5..ac39d470f87 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 ) => consts::static_(p, m), + T![static] if la != PIPE => consts::static_(p, m), _ => return Err(m), }; |
