Rollup merge of #129245 - smoelius:patch-1, r=lqd

Fix a typo in `rustc_hir` doc comment

Fix a typo in a comment.
This commit is contained in:
Matthias Krüger 2024-08-19 20:14:58 +02:00 committed by GitHub
commit 8dc8589d1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
}