diff options
author | Aleksey Kladov <[email protected]> | 2018-08-23 22:16:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-23 22:16:29 +0100 |
commit | dd64a155e9dd24fd2a81f8c634fdb396632de472 (patch) | |
tree | 606b54ead924e2063a3493e8a0cff8e48cd087ee /crates/libsyntax2/src/grammar/mod.rs | |
parent | f47f58ffe5fb494c883ec4fd120cdd63ad31cc68 (diff) |
rename
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(); |