Skip to content

Commit

Permalink
tweak comment on NonterminalKind::Expr
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Holk <eric@theincredibleholk.org>
  • Loading branch information
compiler-errors and eholk committed Jul 31, 2024
1 parent 6b731c2 commit 79ef91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/parser/nonterminal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit 79ef91e

Please sign in to comment.