Skip to content

Commit 10c43c3

Browse files
authored
Add doc aliases to unit
1 parent 2a245f4 commit 10c43c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/std/src/primitive_docs.rs

+3
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ mod prim_never {}
345345
mod prim_char {}
346346

347347
#[doc(primitive = "unit")]
348+
#[doc(alias = "(")]
349+
#[doc(alias = ")")]
350+
#[doc(alias = "()")]
348351
//
349352
/// The `()` type, also called "unit".
350353
///

0 commit comments

Comments
 (0)