diff options
| author | xiaoxiangxianzi <zhaoyizheng@outlook.com> | 2024-03-27 21:19:17 +0800 |
|---|---|---|
| committer | xiaoxiangxianzi <zhaoyizheng@outlook.com> | 2024-03-27 22:32:53 +0800 |
| commit | 3157114f0b4b28caad0d593a0cc5d8b04d02a29c (patch) | |
| tree | 4d934ced914d0900a8f5c4df9ed3c1d80c6692ee /compiler/rustc_parse/src/parser | |
| parent | 0dcc1309d0e56f2121d46e20c19d332233533530 (diff) | |
| download | rust-3157114f0b4b28caad0d593a0cc5d8b04d02a29c.tar.gz rust-3157114f0b4b28caad0d593a0cc5d8b04d02a29c.zip | |
chore: fix some comments
Signed-off-by: xiaoxiangxianzi <zhaoyizheng@outlook.com>
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 7e317c3df14..18fb858c84c 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -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(); // ) |
