fix a comment
This commit is contained in:
parent
ca1e94b131
commit
fbd56131a9
1 changed files with 1 additions and 1 deletions
|
|
@ -1949,7 +1949,7 @@ pub struct FieldDef {
|
|||
pub struct AdtDef {
|
||||
/// `DefId` of the struct, enum or union item.
|
||||
pub did: DefId,
|
||||
/// Variants of the ADT. If this is a struct or enum, then there will be a single variant.
|
||||
/// Variants of the ADT. If this is a struct or union, then there will be a single variant.
|
||||
pub variants: IndexVec<self::layout::VariantIdx, VariantDef>,
|
||||
/// Flags of the ADT (e.g. is this a struct? is this non-exhaustive?)
|
||||
flags: AdtFlags,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue