about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoss MacArthur <ross@macarthur.io>2020-04-05 14:30:13 +0200
committerRoss MacArthur <ross@macarthur.io>2020-04-05 14:30:13 +0200
commitbc26f5852124140c6a63306a24eb95962f92786b (patch)
tree8b7c66e8392473ca981ff0dee44a7ee3c4b7307b
parent7b657d340d715f48449189fea9d032350323a13f (diff)
downloadrust-bc26f5852124140c6a63306a24eb95962f92786b.tar.gz
rust-bc26f5852124140c6a63306a24eb95962f92786b.zip
Do not use "nil" to refer to `()`
-rw-r--r--src/libstd/primitive_docs.rs2
1 files changed, 1 insertions, 1 deletions
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