Skip to content

Commit c75dc78

Browse files
committed
fix typo
1 parent a7acd3d commit c75dc78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir/src/hir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ pub struct Arm<'hir> {
11281128
/// `let-else`, evaluating to a boolean. Typically the pattern is refutable.
11291129
///
11301130
/// 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.
1131+
/// desugaring to if-let. Only let-else supports the type annotation at present.
11321132
#[derive(Debug, HashStable_Generic)]
11331133
pub struct Let<'hir> {
11341134
pub hir_id: HirId,

0 commit comments

Comments
 (0)