diff options
| author | Devin R <devin.ragotzy@gmail.com> | 2019-11-30 09:05:46 -0500 |
|---|---|---|
| committer | Devin R <devin.ragotzy@gmail.com> | 2019-11-30 09:05:46 -0500 |
| commit | 44f3bee17f0c9c8f7d6293db32087b70e1de72cb (patch) | |
| tree | 09e5985151fdfed56d3a7c4f8ff24bc8d8fdf859 /src/libstd | |
| parent | b67d6c7e1234a7227d4f903fb218a4f8a226c9f4 (diff) | |
| download | rust-44f3bee17f0c9c8f7d6293db32087b70e1de72cb.tar.gz rust-44f3bee17f0c9c8f7d6293db32087b70e1de72cb.zip | |
add docs for move and match keywords
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/keyword_docs.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index 24683e36b88..75a50ad8753 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")] |
