From b6a12d58f5c81a806980deb104f3a05af9eac235 Mon Sep 17 00:00:00 2001 From: Stephen Albert-Moore Date: Thu, 18 Mar 2021 17:04:58 -0400 Subject: [PATCH 1/2] Fix pluralization in keyword docs --- library/std/src/keyword_docs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/std/src/keyword_docs.rs b/library/std/src/keyword_docs.rs index 383eaf2e3a206..2eb7e81074ff8 100644 --- a/library/std/src/keyword_docs.rs +++ b/library/std/src/keyword_docs.rs @@ -1031,10 +1031,10 @@ mod mod_keyword {} /// }; /// ``` /// -/// For more information on the `move` keyword, see the [closure]'s section -/// of the Rust book or the [threads] section +/// For more information on the `move` keyword, see the [closures] section +/// of the Rust book or the [threads] section. /// -/// [closure]: ../book/ch13-01-closures.html +/// [closures]: ../book/ch13-01-closures.html /// [threads]: ../book/ch16-01-threads.html#using-move-closures-with-threads mod move_keyword {} From 3855597186d1b3339c803fe0fa9f3af422b1605f Mon Sep 17 00:00:00 2001 From: Stephen Albert-Moore Date: Sat, 20 Mar 2021 00:36:41 -0400 Subject: [PATCH 2/2] Fix broken doc link reference --- library/std/src/keyword_docs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/std/src/keyword_docs.rs b/library/std/src/keyword_docs.rs index 2eb7e81074ff8..e64cbc18bf71b 100644 --- a/library/std/src/keyword_docs.rs +++ b/library/std/src/keyword_docs.rs @@ -1031,10 +1031,10 @@ mod mod_keyword {} /// }; /// ``` /// -/// For more information on the `move` keyword, see the [closures] section +/// For more information on the `move` keyword, see the [closures][closure] section /// of the Rust book or the [threads] section. /// -/// [closures]: ../book/ch13-01-closures.html +/// [closure]: ../book/ch13-01-closures.html /// [threads]: ../book/ch16-01-threads.html#using-move-closures-with-threads mod move_keyword {}