]> git.lizzy.rs Git - rust.git/commitdiff
Do not use "nil" to refer to `()`
authorRoss MacArthur <ross@macarthur.io>
Sun, 5 Apr 2020 12:30:13 +0000 (14:30 +0200)
committerRoss MacArthur <ross@macarthur.io>
Sun, 5 Apr 2020 12:30:13 +0000 (14:30 +0200)
src/libstd/primitive_docs.rs

index adad90f56d1cf57810770e9568e083b0d714e872..e0ceb9f3f3810ff1c1e93fc7d9b5815e1062a561 100644 (file)
@@ -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