From bc26f5852124140c6a63306a24eb95962f92786b Mon Sep 17 00:00:00 2001 From: Ross MacArthur Date: Sun, 5 Apr 2020 14:30:13 +0200 Subject: [PATCH] Do not use "nil" to refer to `()` --- src/libstd/primitive_docs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index adad90f56d1..e0ceb9f3f38 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -320,7 +320,7 @@ mod prim_char {} #[doc(primitive = "unit")] // -/// The `()` type, sometimes called "unit" or "nil". +/// The `()` type, also called "unit". /// /// The `()` type has exactly one value `()`, and is used when there /// is no other meaningful value that could be returned. `()` is most