Clarify aggregates

Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
This commit is contained in:
Who? Me?! 2018-11-08 19:03:29 +01:00
parent 203a545285
commit c9f929122a
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ to a new temporary variable.
## Aggregate construction ## Aggregate construction
Aggregate values of any kind are built via `Rvalue::Aggregate`. All fields are Aggregate values of any kind (e.g. structs or tuples) are built via `Rvalue::Aggregate`. All fields are
lowered to `Operator`s. This is essentially equivalent to one assignment lowered to `Operator`s. This is essentially equivalent to one assignment
statement per aggregate field plus an assignment to the discriminant in the statement per aggregate field plus an assignment to the discriminant in the
case of `enum`s. case of `enum`s.