Skip to content

Commit 5220231

Browse files
committed
change doc phrasing
1 parent 266ed66 commit 5220231

File tree

2 files changed

+3
-1612
lines changed

2 files changed

+3
-1612
lines changed

library/core/src/primitive_docs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ impl<Ret, T> fn(T) -> Ret {}
15741574
#[cfg(doc)]
15751575
#[stable(feature = "rust1", since = "1.0.0")]
15761576
#[doc(fake_variadic)]
1577-
/// This trait is implemented on function pointers with any number of arguments.
1577+
/// This trait is implemented on all function pointers.
15781578
impl<Ret, T> Clone for fn(T) -> Ret {
15791579
fn clone(&self) -> Self {
15801580
loop {}
@@ -1585,7 +1585,7 @@ impl<Ret, T> Clone for fn(T) -> Ret {
15851585
#[cfg(doc)]
15861586
#[stable(feature = "rust1", since = "1.0.0")]
15871587
#[doc(fake_variadic)]
1588-
/// This trait is implemented on function pointers with any number of arguments.
1588+
/// This trait is implemented on all function pointers.
15891589
impl<Ret, T> Copy for fn(T) -> Ret {
15901590
// empty
15911591
}
@@ -1598,7 +1598,7 @@ impl<Ret, T> Copy for fn(T) -> Ret {
15981598
reason = "internal trait for implementing various traits for all function pointers"
15991599
)]
16001600
#[doc(fake_variadic)]
1601-
/// This trait is implemented on function pointers with any number of arguments.
1601+
/// This trait is implemented on all function pointers.
16021602
impl<Ret, T> FnPtr for fn(T) -> Ret {
16031603
fn addr(self) -> *const () {
16041604
// empty

0 commit comments

Comments
 (0)