Skip to content

Commit 3847e76

Browse files
benaryorgManishearth
authored andcommitted
documentation fix
`continue` expression's description mentioned `break` instead of `continue` Signed-off-by: benaryorg <[email protected]>
1 parent ced9df6 commit 3847e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference.md

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

30453045
A `continue` expression is only permitted in the body of a loop.
30463046

0 commit comments

Comments
 (0)