We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7acd3d commit c75dc78Copy full SHA for c75dc78
compiler/rustc_hir/src/hir.rs
@@ -1128,7 +1128,7 @@ pub struct Arm<'hir> {
1128
/// `let-else`, evaluating to a boolean. Typically the pattern is refutable.
1129
///
1130
/// In an if-let, imagine it as `if (let <pat> = <expr>) { ... }`; in a let-else, it is part of the
1131
-/// desugaring to if-let. Only if-let supports the type annotation at present.
+/// desugaring to if-let. Only let-else supports the type annotation at present.
1132
#[derive(Debug, HashStable_Generic)]
1133
pub struct Let<'hir> {
1134
pub hir_id: HirId,
0 commit comments