Rollup merge of #31909 - benaryorg:patch-2, r=Manishearth

`continue` expression's description mentioned `break` instead of `continue`
This commit is contained in:
Manish Goregaokar 2016-02-27 08:04:53 +05:30
commit 35b30424df
1 changed files with 1 additions and 1 deletions

View File

@ -3040,7 +3040,7 @@ the case of a `while` loop, the head is the conditional expression controlling
the loop. In the case of a `for` loop, the head is the call-expression
controlling the loop. If the label is present, then `continue 'foo` returns
control to the head of the loop with label `'foo`, which need not be the
innermost label enclosing the `break` expression, but must enclose it.
innermost label enclosing the `continue` expression, but must enclose it.
A `continue` expression is only permitted in the body of a loop.