diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-31 15:37:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-31 15:37:55 -0400 |
| commit | 79ef91e879d15bf13b8903379c36c08ad4788587 (patch) | |
| tree | 60076e71e81af41354da51b3d54fc19f5ad3c649 | |
| parent | 6b731c2e7d25965cbea9bdf34233a500acb594f3 (diff) | |
| download | rust-79ef91e879d15bf13b8903379c36c08ad4788587.tar.gz rust-79ef91e879d15bf13b8903379c36c08ad4788587.zip | |
tweak comment on `NonterminalKind::Expr`
Co-authored-by: Eric Holk <eric@theincredibleholk.org>
| -rw-r--r-- | compiler/rustc_parse/src/parser/nonterminal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/nonterminal.rs b/compiler/rustc_parse/src/parser/nonterminal.rs index 730b3a57142..54f4a4ead07 100644 --- a/compiler/rustc_parse/src/parser/nonterminal.rs +++ b/compiler/rustc_parse/src/parser/nonterminal.rs @@ -48,7 +48,7 @@ impl<'a> Parser<'a> { } // Current edition expressions NonterminalKind::Expr(Expr) => { - // In Edition 2024, `_` will be considered an expression, so we + // In Edition 2024, `_` is considered an expression, so we // need to allow it here because `token.can_begin_expr()` does // not consider `_` to be an expression. // |
