Fix some typos in comments
Signed-off-by: TechVest <techdashen@qq.com>
This commit is contained in:
parent
b7581490aa
commit
45df09b7de
7 changed files with 8 additions and 8 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