Skip to content

Commit f4978b5

Browse files
mark-i-moli-obk
andcommitted
Clarify aggregates
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
1 parent 0306706 commit f4978b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mir/construction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ to a new temporary variable.
140140

141141
## Aggregate construction
142142

143-
Aggregate values of any kind are built via `Rvalue::Aggregate`. All fields are
143+
Aggregate values of any kind (e.g. structs or tuples) are built via `Rvalue::Aggregate`. All fields are
144144
lowered to `Operator`s. This is essentially equivalent to one assignment
145145
statement per aggregate field plus an assignment to the discriminant in the
146146
case of `enum`s.

0 commit comments

Comments
 (0)