aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2019-05-02 03:08:11 +0100
committerEdwin Cheng <[email protected]>2019-05-02 03:08:11 +0100
commita7ef9bac4e2ffd8120b4053c8bfc3132e047fa45 (patch)
treec44487c1bfc21fc9bada08c82fc3fa0636740a12 /crates/ra_mbe/src
parent6b2985ebc7327756d562d6af153a8b32ffaa8471 (diff)
Formating
Diffstat (limited to 'crates/ra_mbe/src')
-rw-r--r--crates/ra_mbe/src/tt_cursor.rs2
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) {