We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8990c68 commit 4f3126eCopy full SHA for 4f3126e
src/mir/construction.md
@@ -119,7 +119,7 @@ In [MIR] there is no difference between method calls and function calls anymore.
119
120
## Conditions
121
122
-`if` conditions and `match` statements for `enum`s without variants with fields are
+`if` conditions and `match` statements for `enum`s with variants that have no fields are
123
lowered to `TerminatorKind::SwitchInt`. Each possible value (so `0` and `1` for `if`
124
conditions) has a corresponding `BasicBlock` to which the code continues.
125
The argument being branched on is (again) an `Operand` representing the value of
0 commit comments