Fix bootstrap attr
This commit is contained in:
parent
85b0c2ffbb
commit
9f6dcceef0
2 changed files with 4 additions and 4 deletions
|
@ -965,7 +965,7 @@ impl<T> (T,) {}
|
||||||
// Fake impl that's only really used for docs.
|
// Fake impl that's only really used for docs.
|
||||||
#[cfg(doc)]
|
#[cfg(doc)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[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.
|
/// This trait is implemented on arbitrary-length tuples.
|
||||||
impl<T: Clone> Clone for (T,) {
|
impl<T: Clone> Clone for (T,) {
|
||||||
fn clone(&self) -> Self {
|
fn clone(&self) -> Self {
|
||||||
|
@ -976,7 +976,7 @@ impl<T: Clone> Clone for (T,) {
|
||||||
// Fake impl that's only really used for docs.
|
// Fake impl that's only really used for docs.
|
||||||
#[cfg(doc)]
|
#[cfg(doc)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[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.
|
/// This trait is implemented on arbitrary-length tuples.
|
||||||
impl<T: Copy> Copy for (T,) {
|
impl<T: Copy> Copy for (T,) {
|
||||||
// empty
|
// empty
|
||||||
|
|
|
@ -965,7 +965,7 @@ impl<T> (T,) {}
|
||||||
// Fake impl that's only really used for docs.
|
// Fake impl that's only really used for docs.
|
||||||
#[cfg(doc)]
|
#[cfg(doc)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[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.
|
/// This trait is implemented on arbitrary-length tuples.
|
||||||
impl<T: Clone> Clone for (T,) {
|
impl<T: Clone> Clone for (T,) {
|
||||||
fn clone(&self) -> Self {
|
fn clone(&self) -> Self {
|
||||||
|
@ -976,7 +976,7 @@ impl<T: Clone> Clone for (T,) {
|
||||||
// Fake impl that's only really used for docs.
|
// Fake impl that's only really used for docs.
|
||||||
#[cfg(doc)]
|
#[cfg(doc)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[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.
|
/// This trait is implemented on arbitrary-length tuples.
|
||||||
impl<T: Copy> Copy for (T,) {
|
impl<T: Copy> Copy for (T,) {
|
||||||
// empty
|
// empty
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue