diff options
| author | bors <bors@rust-lang.org> | 2024-04-25 13:02:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-25 13:02:08 +0000 |
| commit | 6a9758d4f38d4763bd437c48fa7e5246cecf8d04 (patch) | |
| tree | 99088b1595ad1298d675f75bffd455c194742159 /compiler/rustc_hir_analysis/src | |
| parent | 1c84675e1f5bd97307af5a86b4f8e6d9e571362c (diff) | |
| parent | 45df09b7deaeda5a816d9e447e5cca7b928b60c6 (diff) | |
| download | rust-6a9758d4f38d4763bd437c48fa7e5246cecf8d04.tar.gz rust-6a9758d4f38d4763bd437c48fa7e5246cecf8d04.zip | |
Auto merge of #124058 - TechVest:master, r=fmease
Fix some typos in comments
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/collect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/collect.rs b/compiler/rustc_hir_analysis/src/collect.rs index 1085caa310b..599f25147ce 100644 --- a/compiler/rustc_hir_analysis/src/collect.rs +++ b/compiler/rustc_hir_analysis/src/collect.rs @@ -992,7 +992,7 @@ fn lower_variant( .inspect(|f| { has_unnamed_fields |= f.ident.name == kw::Underscore; // We only check named ADT here because anonymous ADTs are checked inside - // the nammed ADT in which they are defined. + // the named ADT in which they are defined. if !is_anonymous { field_uniqueness_check_ctx.check_field(f); } |
