From 249e07b237bd3049eb7fd94afe450b7c09b6a3d9 Mon Sep 17 00:00:00 2001 From: Alexis Bourget Date: Wed, 24 Jun 2020 14:53:52 +0200 Subject: [PATCH 1/3] Short documentation for the false keyword --- src/libstd/keyword_docs.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index a4996d9eee810..cd722458a90b8 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -387,10 +387,12 @@ mod extern_keyword {} // /// A value of type [`bool`] representing logical **false**. /// -/// The documentation for this keyword is [not yet complete]. Pull requests welcome! +/// Logically `false` is not equal to [`true`]. +/// +/// See the documentation for [`true`] for more information. /// +/// [`true`]: keyword.true.html /// [`bool`]: primitive.bool.html -/// [not yet complete]: https://github.com/rust-lang/rust/issues/34601 mod false_keyword {} #[doc(keyword = "fn")] From b7bf3c83c408c18465bc3a1ea9c98a0023b90d93 Mon Sep 17 00:00:00 2001 From: Alexis Bourget Date: Sun, 19 Jul 2020 15:58:41 +0200 Subject: [PATCH 2/3] Remove useless link to bool primitive --- src/libstd/keyword_docs.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index cd722458a90b8..139b402c3357b 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -392,7 +392,6 @@ mod extern_keyword {} /// See the documentation for [`true`] for more information. /// /// [`true`]: keyword.true.html -/// [`bool`]: primitive.bool.html mod false_keyword {} #[doc(keyword = "fn")] From a459fc4e3140cd89457f973045d9c82ef2928698 Mon Sep 17 00:00:00 2001 From: Poliorcetics Date: Sun, 19 Jul 2020 16:28:18 +0200 Subject: [PATCH 3/3] Apply suggestions from review Co-authored-by: Joshua Nelson --- src/libstd/keyword_docs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index 139b402c3357b..a3f5a820d6769 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -387,7 +387,7 @@ mod extern_keyword {} // /// A value of type [`bool`] representing logical **false**. /// -/// Logically `false` is not equal to [`true`]. +/// `false` is the logical opposite of [`true`]. /// /// See the documentation for [`true`] for more information. ///