aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar/mod.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-23 22:16:29 +0100
committerAleksey Kladov <[email protected]>2018-08-23 22:16:29 +0100
commitdd64a155e9dd24fd2a81f8c634fdb396632de472 (patch)
tree606b54ead924e2063a3493e8a0cff8e48cd087ee /crates/libsyntax2/src/grammar/mod.rs
parentf47f58ffe5fb494c883ec4fd120cdd63ad31cc68 (diff)
rename
Diffstat (limited to 'crates/libsyntax2/src/grammar/mod.rs')
-rw-r--r--crates/libsyntax2/src/grammar/mod.rs2
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
57fn visibility(p: &mut Parser) { 57fn 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();