File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ In [MIR] there is no difference between method calls and function calls anymore.
126
126
` if ` conditions and ` match ` statements for ` enum ` s without variants with fields are
127
127
lowered to ` TerminatorKind::SwitchInt ` . Each possible value (so ` 0 ` and ` 1 ` for ` if `
128
128
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
130
130
the if condition.
131
131
132
132
### Pattern matching
@@ -138,7 +138,8 @@ to a new temporary variable.
138
138
139
139
## Aggregate construction
140
140
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
142
143
lowered to ` Operator ` s. This is essentially equivalent to one assignment
143
144
statement per aggregate field plus an assignment to the discriminant in the
144
145
case of ` enum ` s.
You can’t perform that action at this time.
0 commit comments