diff options
author | Edwin Cheng <[email protected]> | 2019-04-19 14:38:26 +0100 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-04-19 14:38:26 +0100 |
commit | 87ff908135a28115593f8cf895d176aef331347c (patch) | |
tree | 5dd5b02918f9abbd3be1d6071ae266db63add4c6 /crates/ra_parser/src/grammar.rs | |
parent | c5983b85fc9e520208684a8c625cdb96bb219b31 (diff) |
Add vis matcher
Diffstat (limited to 'crates/ra_parser/src/grammar.rs')
-rw-r--r-- | crates/ra_parser/src/grammar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar.rs b/crates/ra_parser/src/grammar.rs index 13c50c79c..67eae749d 100644 --- a/crates/ra_parser/src/grammar.rs +++ b/crates/ra_parser/src/grammar.rs | |||
@@ -167,7 +167,7 @@ impl BlockLike { | |||
167 | } | 167 | } |
168 | } | 168 | } |
169 | 169 | ||
170 | fn opt_visibility(p: &mut Parser) -> bool { | 170 | pub(crate) fn opt_visibility(p: &mut Parser) -> bool { |
171 | match p.current() { | 171 | match p.current() { |
172 | PUB_KW => { | 172 | PUB_KW => { |
173 | let m = p.start(); | 173 | let m = p.start(); |