Skip to content

Commit

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

Fix a typo in a comment.
  • Loading branch information
matthiaskrgr authored Aug 18, 2024
2 parents 3d9a6ad + dc47665 commit a9919ec
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 a9919ec

Please sign in to comment.