From 7d94b4804a51ec7da42ddf3ff4a6bed0518319f7 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Tue, 9 May 2017 15:48:45 +0100 Subject: [PATCH] loop_break_value: address review comments on book addition --- .../src/language-features/loop-break-value.md | 7 ++----- 1 file 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 23527cfe8bd9..dae04d737b78 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