We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ast::ExprKind::Let
1 parent bc72ce6 commit 90b9e96Copy full SHA for 90b9e96
src/libsyntax/ast.rs
@@ -1115,7 +1115,7 @@ pub enum ExprKind {
1115
Cast(P<Expr>, P<Ty>),
1116
/// A type ascription (e.g., `42: usize`).
1117
Type(P<Expr>, P<Ty>),
1118
- /// A `let pats = expr` pseudo-expression that only occurs in the condition
+ /// A `let pats = expr` expression that is only semantically allowed in the condition
1119
/// of `if` / `while` expressions. (e.g., `if let 0 = x { .. }`).
1120
///
1121
/// The `Vec<P<Pat>>` is for or-patterns at the top level.
0 commit comments