From 44f3bee17f0c9c8f7d6293db32087b70e1de72cb Mon Sep 17 00:00:00 2001 From: Devin R Date: Sat, 30 Nov 2019 09:05:46 -0500 Subject: [PATCH] add docs for move and match keywords --- src/libstd/keyword_docs.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index 24683e36b886..75a50ad87530 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -853,6 +853,7 @@ mod loop_keyword { } /// ``` /// /// For more information on `match` and matching in general, see the [Reference]. +/// /// [Reference]: ../reference/expressions/match-expr.html mod match_keyword { } @@ -892,11 +893,13 @@ mod mod_keyword { } /// /// // x is no longer available /// ``` -/// +/// +/// For more information on the `move` keyword, see the [closure]'s section +/// of the Rust book or the [threads] section +/// /// [`Fn` trait]: ../std/ops/trait.Fn.html /// [closure]: ../book/ch13-01-closures.html /// [threads]: ../book/ch16-01-threads.html#using-move-closures-with-threads -/// [not yet complete]: https://github.com/rust-lang/rust/issues/34601 mod move_keyword { } #[doc(keyword = "mut")]