Do not use "nil" to refer to ()

This commit is contained in:
Ross MacArthur 2020-04-05 14:30:13 +02:00
parent 7b657d340d
commit bc26f58521
No known key found for this signature in database
GPG Key ID: 06D0DC3998527584

View 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