@@ -783,7 +783,7 @@ a specific value, are not allowed.
783783
784784`while` produces a loop that runs as long as its given condition
785785(which must have type `bool`) evaluates to true. Inside a loop, the
786- keyword `break` can be used to abort the loop, and `cont ` can be used
786+ keyword `break` can be used to abort the loop, and `again ` can be used
787787to abort the current iteration and continue with the next.
788788
789789~~~~
@@ -1187,7 +1187,7 @@ Empty argument lists can be omitted from `do` expressions.
11871187
11881188Most iteration in Rust is done with `for` loops. Like `do`,
11891189`for` is a nice syntax for doing control flow with closures.
1190- Additionally, within a `for` loop, `break, `cont `, and `ret`
1190+ Additionally, within a `for` loop, `break, `again `, and `ret`
11911191work just as they do with `while` and `loop`.
11921192
11931193Consider again our `each` function, this time improved to
@@ -1221,8 +1221,8 @@ each(~[2, 4, 8, 5, 16], |n| {
12211221With `for`, functions like `each` can be treated more
12221222like builtin looping structures. When calling `each`
12231223in a `for` loop, instead of returning `false` to break
1224- out of the loop, you just write `break`. To continue
1225- to the next iteration, write `cont `.
1224+ out of the loop, you just write `break`. To skip ahead
1225+ to the next iteration, write `again `.
12261226
12271227~~~~
12281228# import each = vec::each;
0 commit comments