diff options
| author | r00ster <r00ster91@protonmail.com> | 2021-05-15 17:31:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-15 17:31:32 +0200 |
| commit | 10c43c39801506d694cda04dfb8a7eeacba4e236 (patch) | |
| tree | af7f2f4dec8671abc4e2c0268b7aba91a1fff094 | |
| parent | 2a245f40a19c9a60b3be33c959eb5cfb0ad163c6 (diff) | |
| download | rust-10c43c39801506d694cda04dfb8a7eeacba4e236.tar.gz rust-10c43c39801506d694cda04dfb8a7eeacba4e236.zip | |
Add doc aliases to `unit`
| -rw-r--r-- | library/std/src/primitive_docs.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index 96ab32104ea..d05b2ffc4e8 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -345,6 +345,9 @@ mod prim_never {} mod prim_char {} #[doc(primitive = "unit")] +#[doc(alias = "(")] +#[doc(alias = ")")] +#[doc(alias = "()")] // /// The `()` type, also called "unit". /// |
