diff options
| author | Michael Howell <michael@notriddle.com> | 2022-06-16 09:50:57 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-07-17 16:32:06 -0700 |
| commit | 1169832f2ff1ce740dc3d68de2df3745ec4e1aef (patch) | |
| tree | 787992af670a5860306399e1fdc94e5818dbc0fc /library/core/src/tuple.rs | |
| parent | 263edd43c5255084292329423c61a9d69715ebfa (diff) | |
| download | rust-1169832f2ff1ce740dc3d68de2df3745ec4e1aef.tar.gz rust-1169832f2ff1ce740dc3d68de2df3745ec4e1aef.zip | |
rustdoc: extend `#[doc(tuple_variadic)]` to fn pointers
The attribute is also renamed `fake_variadic`.
Diffstat (limited to 'library/core/src/tuple.rs')
| -rw-r--r-- | library/core/src/tuple.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/tuple.rs b/library/core/src/tuple.rs index b664b0bb866..d189e6400f1 100644 --- a/library/core/src/tuple.rs +++ b/library/core/src/tuple.rs @@ -107,7 +107,7 @@ macro_rules! tuple_impls { // Otherwise, it hides the docs entirely. macro_rules! maybe_tuple_doc { ($a:ident @ #[$meta:meta] $item:item) => { - #[doc(tuple_variadic)] + #[cfg_attr(not(bootstrap), doc(fake_variadic))] #[doc = "This trait is implemented for tuples up to twelve items long."] #[$meta] $item |
