Skip to content

Commit 0306706

Browse files
mark-i-moli-obk
andcommitted
Missing connection between two consecutive sentences
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
1 parent 33558bd commit 0306706

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mir/construction.md

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

133134
### Pattern matching
134135

0 commit comments

Comments
 (0)