Skip to content

Commit 7a54959

Browse files
committed
documentation fix
`continue` expression's description mentioned `break` instead of `continue` Signed-off-by: benaryorg <binary@benary.org>
1 parent 9c6a008 commit 7a54959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3036,7 +3036,7 @@ the case of a `while` loop, the head is the conditional expression controlling
30363036
the loop. In the case of a `for` loop, the head is the call-expression
30373037
controlling the loop. If the label is present, then `continue 'foo` returns
30383038
control to the head of the loop with label `'foo`, which need not be the
3039-
innermost label enclosing the `break` expression, but must enclose it.
3039+
innermost label enclosing the `continue` expression, but must enclose it.
30403040

30413041
A `continue` expression is only permitted in the body of a loop.
30423042

0 commit comments

Comments
 (0)