Skip to content

Commit b044242

Browse files
committed
Remove some invalid cfg(doc) code
1 parent 965da3a commit b044242

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

library/core/src/primitive_docs.rs

-9
Original file line numberDiff line numberDiff line change
@@ -1701,12 +1701,3 @@ impl<Ret, T> Clone for fn(T) -> Ret {
17011701
loop {}
17021702
}
17031703
}
1704-
1705-
// Fake impl that's only really used for docs.
1706-
#[cfg(doc)]
1707-
#[stable(feature = "rust1", since = "1.0.0")]
1708-
#[doc(fake_variadic)]
1709-
/// This trait is implemented on function pointers with any number of arguments.
1710-
impl<Ret, T> Copy for fn(T) -> Ret {
1711-
// empty
1712-
}

0 commit comments

Comments
 (0)