diff options
Diffstat (limited to 'crates/ra_mbe')
-rw-r--r-- | crates/ra_mbe/src/tt_cursor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/tt_cursor.rs b/crates/ra_mbe/src/tt_cursor.rs index 53bc305be..8f15d215b 100644 --- a/crates/ra_mbe/src/tt_cursor.rs +++ b/crates/ra_mbe/src/tt_cursor.rs | |||
@@ -152,7 +152,7 @@ impl<'a> TtCursor<'a> { | |||
152 | pub(crate) fn eat_vis(&mut self) -> Option<tt::TokenTree> { | 152 | pub(crate) fn eat_vis(&mut self) -> Option<tt::TokenTree> { |
153 | let parser = Parser::new(&mut self.pos, self.subtree); | 153 | let parser = Parser::new(&mut self.pos, self.subtree); |
154 | parser.parse_vis() | 154 | parser.parse_vis() |
155 | } | 155 | } |
156 | 156 | ||
157 | pub(crate) fn expect_char(&mut self, char: char) -> Result<(), ParseError> { | 157 | pub(crate) fn expect_char(&mut self, char: char) -> Result<(), ParseError> { |
158 | if self.at_char(char) { | 158 | if self.at_char(char) { |