mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 05:53:10 +00:00
Add docs to maybe_tuple_doc!
This commit is contained in:
parent
22c39aa835
commit
36fb094d25
@ -103,6 +103,8 @@ macro_rules! tuple_impls {
|
||||
}
|
||||
}
|
||||
|
||||
// If this is a unary tuple, it adds a doc comment.
|
||||
// Otherwise, it hides the docs entirely.
|
||||
macro_rules! maybe_tuple_doc {
|
||||
($a:ident @ #[$meta:meta] $item:item) => {
|
||||
#[cfg_attr(not(bootstrap), doc(tuple_variadic))]
|
||||
|
Loading…
Reference in New Issue
Block a user