This commit is contained in:
Aleksey Kladov
2018-08-24 00:16:29 +03:00
parent f47f58ffe5
commit dd64a155e9
3 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ impl BlockLike {
fn is_block(self) -> bool { self == BlockLike::Block }
}
fn visibility(p: &mut Parser) {
fn opt_visibility(p: &mut Parser) {
match p.current() {
PUB_KW => {
let m = p.start();