about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorKatze <binary@benary.org>2016-02-26 09:45:32 +0100
committerbenaryorg <binary@benary.org>2016-02-26 09:58:01 +0100
commit7a549598bb35601dae25eab8dacb0a053ec3fcae (patch)
tree9f9fa937351ed5e0817da8ee631eb8f284425dbd /src/doc
parent9c6a0088fbdae5a6554c39f8db9207c1b878eb05 (diff)
downloadrust-7a549598bb35601dae25eab8dacb0a053ec3fcae.tar.gz
rust-7a549598bb35601dae25eab8dacb0a053ec3fcae.zip
documentation fix
`continue` expression's description mentioned `break` instead of `continue`

Signed-off-by: benaryorg <binary@benary.org>
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/reference.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 228af394838..ebad8c6c75e 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -3036,7 +3036,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.