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:
commit
8dc8589d1f
@ -1395,7 +1395,7 @@ pub struct LetExpr<'hir> {
|
|||||||
pub pat: &'hir Pat<'hir>,
|
pub pat: &'hir Pat<'hir>,
|
||||||
pub ty: Option<&'hir Ty<'hir>>,
|
pub ty: Option<&'hir Ty<'hir>>,
|
||||||
pub init: &'hir Expr<'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.
|
/// Used to prevent building MIR in such situations.
|
||||||
pub recovered: ast::Recovered,
|
pub recovered: ast::Recovered,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user