Fix bootstrap attr

This commit is contained in:
Michael Howell 2022-06-08 20:06:54 -07:00
parent 85b0c2ffbb
commit 9f6dcceef0
2 changed files with 4 additions and 4 deletions

View File

@ -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 @@ fn clone(&self) -> Self {
// 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

View File

@ -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 @@ fn clone(&self) -> Self {
// 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