Skip to content

Commit

Permalink
Add while loop keyword to see also
Browse files Browse the repository at this point in the history
Suggested by withoutboats
  • Loading branch information
pickfire committed Nov 25, 2020
1 parent 6b272e0 commit 2d4cfd0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions library/std/src/keyword_docs.rs
Expand Up @@ -554,11 +554,12 @@ mod fn_keyword {}
///
/// For more information on for-loops, see the [Rust book] or the [Reference].
///
/// See also, [`loop`].
/// See also, [`loop`], [`while`].
///
/// [`in`]: keyword.in.html
/// [`impl`]: keyword.impl.html
/// [`loop`]: keyword.loop.html
/// [`while`]: keyword.while.html
/// [higher-ranked trait bounds]: ../reference/trait-bounds.html#higher-ranked-trait-bounds
/// [Rust book]:
/// ../book/ch03-05-control-flow.html#looping-through-a-collection-with-for
Expand Down Expand Up @@ -834,6 +835,8 @@ mod let_keyword {}
///
/// For more information on `while` and loops in general, see the [reference].
///
/// See also, [`for`], [`loop`].
///
/// [`for`]: keyword.for.html
/// [`loop`]: keyword.loop.html
/// [reference]: ../reference/expressions/loop-expr.html#predicate-loops
Expand Down Expand Up @@ -882,9 +885,10 @@ mod while_keyword {}
///
/// For more information on `loop` and loops in general, see the [Reference].
///
/// See also, [`for`].
/// See also, [`for`], [`while`].
///
/// [`for`]: keyword.for.html
/// [`while`]: keyword.while.html
/// [Reference]: ../reference/expressions/loop-expr.html
mod loop_keyword {}

Expand Down

0 comments on commit 2d4cfd0

Please sign in to comment.