diff options
| author | AlexDenisov <1101.debian@gmail.com> | 2015-08-31 06:44:27 +0200 |
|---|---|---|
| committer | AlexDenisov <1101.debian@gmail.com> | 2015-08-31 06:44:27 +0200 |
| commit | b03b0d4c107181ca5796559815b81b4e6a0945c2 (patch) | |
| tree | 4a8dfe0cb477287e7364307bd70c79fe8f910680 | |
| parent | 8f28c9b01ee5ff7e73bb81b3364f26b6ad4060a2 (diff) | |
| download | rust-b03b0d4c107181ca5796559815b81b4e6a0945c2.tar.gz rust-b03b0d4c107181ca5796559815b81b4e6a0945c2.zip | |
Fix typo
| -rw-r--r-- | src/doc/trpl/loops.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/loops.md b/src/doc/trpl/loops.md index 56f928687b0..72e803d04f8 100644 --- a/src/doc/trpl/loops.md +++ b/src/doc/trpl/loops.md @@ -193,7 +193,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 sitation where you would like to a `break` or `continue` for one +loop. In a situation where you would like to a `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: |
