Skip to content

Commit b03b0d4

Browse files
committed
Fix typo
1 parent 8f28c9b commit b03b0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/loops.md

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

0 commit comments

Comments
 (0)