Skip to content

Commit

Permalink
Fix typo in "Loops" section of the book
Browse files Browse the repository at this point in the history
Closes #31195
  • Loading branch information
apasel422 committed Jan 26, 2016
1 parent e7ce7b6 commit b3ebe94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/loops.md
Expand Up @@ -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:
Expand Down

0 comments on commit b3ebe94

Please sign in to comment.