let_chains: scrutinee -> condition
This commit is contained in:
parent
07f37c88fb
commit
a505d9d20a
1 changed files with 1 additions and 1 deletions
|
@ -1115,7 +1115,7 @@ pub enum ExprKind {
|
|||
Cast(P<Expr>, P<Ty>),
|
||||
/// A type ascription (e.g., `42: usize`).
|
||||
Type(P<Expr>, P<Ty>),
|
||||
/// A `let pats = expr` pseudo-expression that only occurs in the scrutinee
|
||||
/// A `let pats = expr` pseudo-expression that only occurs in the condition
|
||||
/// of `if` / `while` expressions. (e.g., `if let 0 = x { .. }`).
|
||||
///
|
||||
/// The `Vec<P<Pat>>` is for or-patterns at the top level.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue