diff options
| author | Diggory Hardy <git@dhardy.name> | 2017-05-09 15:48:45 +0100 |
|---|---|---|
| committer | Diggory Hardy <git@dhardy.name> | 2017-05-09 15:48:45 +0100 |
| commit | 7d94b4804a51ec7da42ddf3ff4a6bed0518319f7 (patch) | |
| tree | 346035940ea6f2338853d4b325d0543813e62203 | |
| parent | 52c33804af9c85121fe8b65166e11ac2d1feee97 (diff) | |
| download | rust-7d94b4804a51ec7da42ddf3ff4a6bed0518319f7.tar.gz rust-7d94b4804a51ec7da42ddf3ff4a6bed0518319f7.zip | |
loop_break_value: address review comments on book addition
| -rw-r--r-- | src/doc/unstable-book/src/language-features/loop-break-value.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/doc/unstable-book/src/language-features/loop-break-value.md b/src/doc/unstable-book/src/language-features/loop-break-value.md index 23527cfe8bd..dae04d737b7 100644 --- a/src/doc/unstable-book/src/language-features/loop-break-value.md +++ b/src/doc/unstable-book/src/language-features/loop-break-value.md @@ -4,16 +4,13 @@ The tracking issue for this feature is: [#37339] [#37339]: https://github.com/rust-lang/rust/issues/37339 -Documentation to be appended to section 3.6 of the book: Loops (after "Loop Labels", or before if -the "Break" section is moved). If this is deemed too complex a feature this early in the book, it -could also be moved to a new section (please advise). This would allow examples breaking with -non-primitive types, references, and discussion of coercion (probably unnecessary however). +Documentation to be appended to section G of the book. ------------------------ ### Loops as expressions -Like everything else in Rust, loops are expressions; for example, the following is perfectly legal, +Like most things in Rust, loops are expressions; for example, the following is perfectly legal, if rather useless: ```rust |
