mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
tweak comment on NonterminalKind::Expr
Co-authored-by: Eric Holk <eric@theincredibleholk.org>
This commit is contained in:
parent
6b731c2e7d
commit
79ef91e879
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user