about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Moelius <35515885+smoelius@users.noreply.github.com>2024-08-18 13:14:09 -0400
committerGitHub <noreply@github.com>2024-08-18 13:14:09 -0400
commitdc4766536b892e91d8d499e9da7facc3006bf922 (patch)
tree1a9f9f30e7baa1ec46ba6dbc38c0261fbe5e2afe
parentf04f6ca36d2439375d20a98be013384afbab0782 (diff)
downloadrust-dc4766536b892e91d8d499e9da7facc3006bf922.tar.gz
rust-dc4766536b892e91d8d499e9da7facc3006bf922.zip
Typo
-rw-r--r--compiler/rustc_hir/src/hir.rs2
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,
 }