about summary refs log tree commit diff
path: root/library/std/src/primitive_docs.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-06-08 20:06:54 -0700
committerMichael Howell <michael@notriddle.com>2022-06-08 20:06:54 -0700
commit9f6dcceef0bf2f455c29e8863413604b58e2b6b5 (patch)
treedf7dea4776df050ee9d230aecde6891daa2bc371 /library/std/src/primitive_docs.rs
parent85b0c2ffbb2c047c744ad10f7e72d87cbf4dbd32 (diff)
Fix bootstrap attr
Diffstat (limited to 'library/std/src/primitive_docs.rs')
-rw-r--r--library/std/src/primitive_docs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs
index 6fa9e795db8..510d47f4e70 100644
--- a/library/std/src/primitive_docs.rs
+++ b/library/std/src/primitive_docs.rs
@@ -965,7 +965,7 @@ impl<T> (T,) {}
 // Fake impl that's only really used for docs.
 #[cfg(doc)]
 #[stable(feature = "rust1", since = "1.0.0")]
-#[doc(tuple_varadic)]
+#[cfg_attr(not(bootstrap), doc(tuple_varadic))]
 /// This trait is implemented on arbitrary-length tuples.
 impl<T: Clone> Clone for (T,) {
     fn clone(&self) -> Self {
@@ -976,7 +976,7 @@ impl<T: Clone> Clone for (T,) {
 // Fake impl that's only really used for docs.
 #[cfg(doc)]
 #[stable(feature = "rust1", since = "1.0.0")]
-#[doc(tuple_varadic)]
+#[cfg_attr(not(bootstrap), doc(tuple_varadic))]
 /// This trait is implemented on arbitrary-length tuples.
 impl<T: Copy> Copy for (T,) {
     // empty