Skip to content

Commit ce79098

Browse files
oli-obkmark-i-m
authored andcommitted
Line length checks
1 parent 21beb77 commit ce79098

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/mir/construction.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ In [MIR] there is no difference between method calls and function calls anymore.
126126
`if` conditions and `match` statements for `enum`s without variants with fields are
127127
lowered to `TerminatorKind::SwitchInt`. Each possible value (so `0` and `1` for `if`
128128
conditions) has a corresponding `BasicBlock` to which the code continues.
129-
The argument being branched on is (again) an `Operand` representing the value of
129+
The argument being branched on is (again) an `Operand` representing the value of
130130
the if condition.
131131

132132
### Pattern matching
@@ -138,7 +138,8 @@ to a new temporary variable.
138138

139139
## Aggregate construction
140140

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

0 commit comments

Comments
 (0)