Auto merge of #124058 - TechVest:master, r=fmease
Fix some typos in comments
This commit is contained in:
commit
6a9758d4f3
4 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue