diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-19 20:14:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-19 20:14:58 +0200 |
| commit | 8dc8589d1f1fb2bfd18c4a5e23a67b3bcb13bf80 (patch) | |
| tree | 7364358d65875482ffa622ec6c775ce2394cf22f | |
| parent | 7b245e4506f0319baac4ad89e6ef13c4adc81448 (diff) | |
| parent | dc4766536b892e91d8d499e9da7facc3006bf922 (diff) | |
| download | rust-8dc8589d1f1fb2bfd18c4a5e23a67b3bcb13bf80.tar.gz rust-8dc8589d1f1fb2bfd18c4a5e23a67b3bcb13bf80.zip | |
Rollup merge of #129245 - smoelius:patch-1, r=lqd
Fix a typo in `rustc_hir` doc comment Fix a typo in a comment.
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index 6599e703461..6c7125b75db 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -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, } |
