From a505d9d20a697d90242158ef1594c611cb23fbfa Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sat, 25 May 2019 12:59:44 +0200 Subject: [PATCH] let_chains: scrutinee -> condition --- src/libsyntax/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index b5a432b9d47..a837ae167a3 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1115,7 +1115,7 @@ pub enum ExprKind { Cast(P, P), /// A type ascription (e.g., `42: usize`). Type(P, P), - /// 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>` is for or-patterns at the top level. -- 2.44.0