Skip to content

Commit bc26f58

Browse files
committed
Do not use "nil" to refer to ()
1 parent 7b657d3 commit bc26f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/primitive_docs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ mod prim_char {}
320320

321321
#[doc(primitive = "unit")]
322322
//
323-
/// The `()` type, sometimes called "unit" or "nil".
323+
/// The `()` type, also called "unit".
324324
///
325325
/// The `()` type has exactly one value `()`, and is used when there
326326
/// is no other meaningful value that could be returned. `()` is most

0 commit comments

Comments
 (0)