@@ -387,10 +387,11 @@ mod extern_keyword {}
387
387
//
388
388
/// A value of type [`bool`] representing logical **false**.
389
389
///
390
- /// The documentation for this keyword is [not yet complete]. Pull requests welcome!
390
+ /// `false` is the logical opposite of [`true`].
391
391
///
392
- /// [`bool`]: primitive.bool.html
393
- /// [not yet complete]: https://github.com/rust-lang/rust/issues/34601
392
+ /// See the documentation for [`true`] for more information.
393
+ ///
394
+ /// [`true`]: keyword.true.html
394
395
mod false_keyword { }
395
396
396
397
#[ doc( keyword = "fn" ) ]
@@ -473,8 +474,8 @@ mod fn_keyword {}
473
474
/// * `for` is also used for [higher-ranked trait bounds] as in `for<'a> &'a T: PartialEq<i32>`.
474
475
///
475
476
/// for-in-loops, or to be more precise, iterator loops, are a simple syntactic sugar over a common
476
- /// practice within Rust, which is to loop over an iterator until that iterator returns `None` (or
477
- /// `break` is called ).
477
+ /// practice within Rust, which is to loop over anything that implements [`IntoIterator`] until the
478
+ /// iterator returned by `.into_iter()` returns `None` (or the loop body uses `break` ).
478
479
///
479
480
/// ```rust
480
481
/// for i in 0..5 {
@@ -680,7 +681,7 @@ mod impl_keyword {}
680
681
//
681
682
/// Iterate over a series of values with [`for`].
682
683
///
683
- /// The expression immediately following `in` must implement the [`Iterator `] trait.
684
+ /// The expression immediately following `in` must implement the [`IntoIterator `] trait.
684
685
///
685
686
/// ## Literal Examples:
686
687
///
@@ -689,7 +690,7 @@ mod impl_keyword {}
689
690
///
690
691
/// (Read more about [range patterns])
691
692
///
692
- /// [`Iterator `]: ../book/ch13-04-performance.html
693
+ /// [`IntoIterator `]: ../book/ch13-04-performance.html
693
694
/// [range patterns]: ../reference/patterns.html?highlight=range#range-patterns
694
695
/// [`for`]: keyword.for.html
695
696
mod in_keyword { }
0 commit comments