We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c614097 commit 48a7a1fCopy full SHA for 48a7a1f
src/librustc/mir/mod.rs
@@ -1515,8 +1515,8 @@ pub enum AggregateKind<'tcx> {
1515
Array(Ty<'tcx>),
1516
Tuple,
1517
1518
- /// The second field is variant number (discriminant), it's equal
1519
- /// to 0 for struct and union expressions. The fourth field is
+ /// The second field is the variant index. It's equal to 0 for struct
+ /// and union expressions. The fourth field is
1520
/// active field number and is present only for union expressions
1521
/// -- e.g. for a union expression `SomeUnion { c: .. }`, the
1522
/// active field index would identity the field `c`
0 commit comments