Skip to content

Commit

Permalink
Add doc aliases to unit
Browse files Browse the repository at this point in the history
  • Loading branch information
wooster0 authored May 15, 2021
1 parent 2a245f4 commit 10c43c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/std/src/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ mod prim_never {}
mod prim_char {}

#[doc(primitive = "unit")]
#[doc(alias = "(")]
#[doc(alias = ")")]
#[doc(alias = "()")]
//
/// The `()` type, also called "unit".
///
Expand Down

0 comments on commit 10c43c3

Please sign in to comment.