Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 79ef91e

Browse files
tweak comment on NonterminalKind::Expr
Co-authored-by: Eric Holk <eric@theincredibleholk.org>
1 parent 6b731c2 commit 79ef91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/parser/nonterminal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl<'a> Parser<'a> {
4848
}
4949
// Current edition expressions
5050
NonterminalKind::Expr(Expr) => {
51-
// In Edition 2024, `_` will be considered an expression, so we
51+
// In Edition 2024, `_` is considered an expression, so we
5252
// need to allow it here because `token.can_begin_expr()` does
5353
// not consider `_` to be an expression.
5454
//

0 commit comments

Comments
 (0)