We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e4e55e commit e24f5acCopy full SHA for e24f5ac
compiler/rustc_middle/src/mir/syntax.rs
@@ -1165,7 +1165,7 @@ pub enum AggregateKind<'tcx> {
1165
Tuple,
1166
1167
/// The second field is the variant index. It's equal to 0 for struct
1168
- /// and union expressions. The fourth field is
+ /// and union expressions. The last field is the
1169
/// active field number and is present only for union expressions
1170
/// -- e.g., for a union expression `SomeUnion { c: .. }`, the
1171
/// active field index would identity the field `c`
0 commit comments