Skip to content

Commit 44f3bee

Browse files
committed
add docs for move and match keywords
1 parent b67d6c7 commit 44f3bee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/libstd/keyword_docs.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ mod loop_keyword { }
853853
/// ```
854854
///
855855
/// For more information on `match` and matching in general, see the [Reference].
856+
///
856857
/// [Reference]: ../reference/expressions/match-expr.html
857858
mod match_keyword { }
858859

@@ -892,11 +893,13 @@ mod mod_keyword { }
892893
///
893894
/// // x is no longer available
894895
/// ```
895-
///
896+
///
897+
/// For more information on the `move` keyword, see the [closure]'s section
898+
/// of the Rust book or the [threads] section
899+
///
896900
/// [`Fn` trait]: ../std/ops/trait.Fn.html
897901
/// [closure]: ../book/ch13-01-closures.html
898902
/// [threads]: ../book/ch16-01-threads.html#using-move-closures-with-threads
899-
/// [not yet complete]: https://github.com/rust-lang/rust/issues/34601
900903
mod move_keyword { }
901904

902905
#[doc(keyword = "mut")]

0 commit comments

Comments
 (0)