diff options
author | Aleksey Kladov <[email protected]> | 2019-12-19 16:13:08 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-19 16:13:33 +0000 |
commit | 0ed8ce096d3ae9ee4027ab4723958a021ef24194 (patch) | |
tree | 187fb7c2e069cb53682c0ea3b5566854cb17232f /crates/ra_parser/src/parser.rs | |
parent | a766f63650aa08697f68e749d274c2c84d1e3eee (diff) |
Touch up TokenSet a bit
Diffstat (limited to 'crates/ra_parser/src/parser.rs')
-rw-r--r-- | crates/ra_parser/src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/parser.rs b/crates/ra_parser/src/parser.rs index dafd5247b..1071c46dc 100644 --- a/crates/ra_parser/src/parser.rs +++ b/crates/ra_parser/src/parser.rs | |||
@@ -208,7 +208,7 @@ impl<'t> Parser<'t> { | |||
208 | 208 | ||
209 | /// Create an error node and consume the next token. | 209 | /// Create an error node and consume the next token. |
210 | pub(crate) fn err_and_bump(&mut self, message: &str) { | 210 | pub(crate) fn err_and_bump(&mut self, message: &str) { |
211 | self.err_recover(message, TokenSet::empty()); | 211 | self.err_recover(message, TokenSet::EMPTY); |
212 | } | 212 | } |
213 | 213 | ||
214 | /// Create an error node and consume the next token. | 214 | /// Create an error node and consume the next token. |