chore: fix some comments

Signed-off-by: xiaoxiangxianzi <zhaoyizheng@outlook.com>
This commit is contained in:
xiaoxiangxianzi 2024-03-27 21:19:17 +08:00
parent 0dcc1309d0
commit 3157114f0b
8 changed files with 9 additions and 9 deletions

View file

@ -2768,7 +2768,7 @@ impl<'a> Parser<'a> {
};
return if self.token.kind == token::CloseDelim(Delimiter::Parenthesis) {
// We know for sure we have seen `for ($SOMETHING in $EXPR)`, so we recover the
// parser state and emit a targetted suggestion.
// parser state and emit a targeted suggestion.
let span = vec![start_span, self.token.span];
let right = self.prev_token.span.between(self.look_ahead(1, |t| t.span));
self.bump(); // )