diff options
| author | Andrew Paseltiner <apaseltiner@gmail.com> | 2016-01-25 21:33:23 -0500 |
|---|---|---|
| committer | Andrew Paseltiner <apaseltiner@gmail.com> | 2016-01-25 21:33:23 -0500 |
| commit | b3ebe949e2db2f6c2d2d10ce050370de5fd40d02 (patch) | |
| tree | 9c9f6c2d699e274186d45916136731a9c6737462 /src | |
| parent | e7ce7b63657e9001b0db08442e43bb5e5a65325a (diff) | |
| download | rust-b3ebe949e2db2f6c2d2d10ce050370de5fd40d02.tar.gz rust-b3ebe949e2db2f6c2d2d10ce050370de5fd40d02.zip | |
Fix typo in "Loops" section of the book
Closes #31195
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/loops.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/loops.md b/src/doc/book/loops.md index 68bb49d2c29..5b08c2fb04d 100644 --- a/src/doc/book/loops.md +++ b/src/doc/book/loops.md @@ -195,7 +195,7 @@ for x in 0..10 { You may also encounter situations where you have nested loops and need to specify which one your `break` or `continue` statement is for. Like most other languages, by default a `break` or `continue` will apply to innermost -loop. In a situation where you would like to a `break` or `continue` for one +loop. In a situation where you would like to `break` or `continue` for one of the outer loops, you can use labels to specify which loop the `break` or `continue` statement applies to. This will only print when both `x` and `y` are odd: |
