1
Fork 0

let_chains: scrutinee -> condition

This commit is contained in:
Mazdak Farrokhzad 2019-05-25 12:59:44 +02:00
parent 07f37c88fb
commit a505d9d20a

View file

@ -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.