Skip to content

Commit a902f7a

Browse files
committed
fix a comment
1 parent 16c0902 commit a902f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1949,7 +1949,7 @@ pub struct FieldDef {
19491949
pub struct AdtDef {
19501950
/// `DefId` of the struct, enum or union item.
19511951
pub did: DefId,
1952-
/// Variants of the ADT. If this is a struct or enum, then there will be a single variant.
1952+
/// Variants of the ADT. If this is a struct or union, then there will be a single variant.
19531953
pub variants: IndexVec<self::layout::VariantIdx, VariantDef>,
19541954
/// Flags of the ADT (e.g. is this a struct? is this non-exhaustive?)
19551955
flags: AdtFlags,

0 commit comments

Comments
 (0)