Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/src/grammar/items.rs')
| -rw-r--r-- | crates/parser/src/grammar/items.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/parser/src/grammar/items.rs b/crates/parser/src/grammar/items.rs index 517da6e95c..9de9afde5d 100644 --- a/crates/parser/src/grammar/items.rs +++ b/crates/parser/src/grammar/items.rs @@ -20,7 +20,7 @@ use super::*; pub(super) fn mod_contents(p: &mut Parser, stop_on_r_curly: bool) { attributes::inner_attrs(p); while !p.at(EOF) && !(p.at(T!['}']) && stop_on_r_curly) { - item_or_macro(p, stop_on_r_curly) + item_or_macro(p, stop_on_r_curly); } } @@ -165,7 +165,7 @@ pub(super) fn opt_item(p: &mut Parser, m: Marker) -> Result<(), Marker> { p.bump_remap(T![default]); p.bump(T![async]); if is_unsafe { - p.bump(T![unsafe]) + p.bump(T![unsafe]); } has_mods = true; } @@ -404,7 +404,7 @@ fn fn_(p: &mut Parser, m: Marker) { // trait T { fn foo(); } p.bump(T![;]); } else { - expressions::block_expr(p) + expressions::block_expr(p); } m.complete(p, FN); } |