You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/expressions/loop-expr.md
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -60,10 +60,10 @@ A `while` loop expression allows repeating the evaluation of a block while a set
60
60
61
61
r[expr.loop.while.syntax]
62
62
The syntax of a `while` expression is a sequence of one or more condition operands separated by `&&`,
63
-
followed by a [_BlockExpression_].
63
+
followed by a [BlockExpression].
64
64
65
65
r[expr.loop.while.condition]
66
-
Condition operands must be either an [_Expression_] with a [boolean type] or a conditional `let` match.
66
+
Condition operands must be either an [Expression] with a [boolean type] or a conditional `let` match.
67
67
If all of the condition operands evaluate to `true` and all of the `let` patterns successfully match their [scrutinee]s,
68
68
then the loop body block executes.
69
69
@@ -392,8 +392,6 @@ r[expr.loop.break-value.loop]
392
392
In the case a `loop` has an associated `break`, it is not considered diverging, and the `loop` must have a type compatible with each `break` expression.
393
393
`break` without an expression is considered identical to `break` with expression `()`.
0 commit comments