rustdoc: show tuple impls as impl Trait for (T, ...)
This commit adds a new unstable attribute, `#[doc(tuple_varadic)]`, that shows a 1-tuple as `(T, ...)` instead of just `(T,)`, and links to a section in the tuple primitive docs that talks about these.
This commit is contained in:
parent
7a93567005
commit
6950f144cf
15 changed files with 111 additions and 44 deletions
|
@ -1439,6 +1439,7 @@ symbols! {
|
|||
tuple,
|
||||
tuple_from_req,
|
||||
tuple_indexing,
|
||||
tuple_varadic,
|
||||
two_phase,
|
||||
ty,
|
||||
type_alias_enum_variants,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue