Skip to content

Commit 24931a3

Browse files
committed
Rollup merge of #31197 - apasel422:issue-31195, r=steveklabnik
Closes #31195 r? @steveklabnik
2 parents 37b48ed + b3ebe94 commit 24931a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/loops.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ for x in 0..10 {
195195
You may also encounter situations where you have nested loops and need to
196196
specify which one your `break` or `continue` statement is for. Like most
197197
other languages, by default a `break` or `continue` will apply to innermost
198-
loop. In a situation where you would like to a `break` or `continue` for one
198+
loop. In a situation where you would like to `break` or `continue` for one
199199
of the outer loops, you can use labels to specify which loop the `break` or
200200
`continue` statement applies to. This will only print when both `x` and `y` are
201201
odd:

0 commit comments

Comments
 (0)