Skip to content

Commit

Permalink
Do not use "nil" to refer to ()
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmacarthur committed Apr 5, 2020
1 parent 7b657d3 commit bc26f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc26f58

Please sign in to comment.