aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-22 12:24:58 +0000
committerGitHub <[email protected]>2020-02-22 12:24:58 +0000
commit7836720f2e9a7fa01ae09ff9d51413ecd5877139 (patch)
tree4c1605dfcd4cb8cd131a15fbf0a50c8c396b0bf0 /crates/ra_parser
parent70ad904012c3614d200cee99e28c5536b68f0588 (diff)
parent59dc797eb378da0e7bdbb6eb7b385db3522473a2 (diff)
Merge #3271
3271: Fix dat comment r=matklad a=Veetaha Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'crates/ra_parser')
-rw-r--r--crates/ra_parser/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/parser.rs b/crates/ra_parser/src/parser.rs
index 76e2d4f7d..faa63d53f 100644
--- a/crates/ra_parser/src/parser.rs
+++ b/crates/ra_parser/src/parser.rs
@@ -164,7 +164,7 @@ impl<'t> Parser<'t> {
164 assert!(self.eat(kind)); 164 assert!(self.eat(kind));
165 } 165 }
166 166
167 /// Advances the parser by one token with composite puncts handled 167 /// Advances the parser by one token
168 pub(crate) fn bump_any(&mut self) { 168 pub(crate) fn bump_any(&mut self) {
169 let kind = self.nth(0); 169 let kind = self.nth(0);
170 if kind == EOF { 170 if kind == EOF {