Skip to content

Commit

Permalink
Unrolled build for rust-lang#129245
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#129245 - smoelius:patch-1, r=lqd

Fix a typo in `rustc_hir` doc comment

Fix a typo in a comment.
  • Loading branch information
rust-timer authored Aug 19, 2024
2 parents 5601d14 + dc47665 commit 1d9b0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir/src/hir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ pub struct LetExpr<'hir> {
pub pat: &'hir Pat<'hir>,
pub ty: Option<&'hir Ty<'hir>>,
pub init: &'hir Expr<'hir>,
/// `Recovered::Yes` when this let expressions is not in a syntanctically valid location.
/// `Recovered::Yes` when this let expressions is not in a syntactically valid location.
/// Used to prevent building MIR in such situations.
pub recovered: ast::Recovered,
}
Expand Down

0 comments on commit 1d9b0e0

Please sign in to comment.