File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1253,11 +1253,11 @@ pub struct Arm<'hir> {
1253
1253
pub body : & ' hir Expr < ' hir > ,
1254
1254
}
1255
1255
1256
- /// Represents a `let <pat>[: <ty>] = <expr>` expression (not a Local), occurring in an `if-let` or
1257
- /// `let-else`, evaluating to a boolean. Typically the pattern is refutable.
1256
+ /// Represents a `let <pat>[: <ty>] = <expr>` expression (not a [` Local`] ), occurring in an `if-let`
1257
+ /// or `let-else`, evaluating to a boolean. Typically the pattern is refutable.
1258
1258
///
1259
- /// In an if- let, imagine it as `if (let <pat> = <expr>) { ... }`; in a let-else, it is part of the
1260
- /// desugaring to if-let. Only let-else supports the type annotation at present.
1259
+ /// In an `if let` , imagine it as `if (let <pat> = <expr>) { ... }`; in a let-else, it is part of
1260
+ /// the desugaring to if-let. Only let-else supports the type annotation at present.
1261
1261
#[ derive( Debug , Clone , Copy , HashStable_Generic ) ]
1262
1262
pub struct Let < ' hir > {
1263
1263
pub span : Span ,
You can’t perform that action at this time.
0 commit comments