diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar/mod.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/mod.rs b/crates/libsyntax2/src/grammar/mod.rs index d9443f24f..bbdc4f807 100644 --- a/crates/libsyntax2/src/grammar/mod.rs +++ b/crates/libsyntax2/src/grammar/mod.rs | |||
@@ -54,7 +54,7 @@ impl BlockLike { | |||
54 | fn is_block(self) -> bool { self == BlockLike::Block } | 54 | fn is_block(self) -> bool { self == BlockLike::Block } |
55 | } | 55 | } |
56 | 56 | ||
57 | fn visibility(p: &mut Parser) { | 57 | fn opt_visibility(p: &mut Parser) { |
58 | match p.current() { | 58 | match p.current() { |
59 | PUB_KW => { | 59 | PUB_KW => { |
60 | let m = p.start(); | 60 | let m = p.start(); |