diff options
| author | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2024-01-12 22:09:38 +0000 |
|---|---|---|
| committer | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2024-01-12 22:09:38 +0000 |
| commit | 46ad13136c96acfa05c2249796913b3280ae0fc3 (patch) | |
| tree | 474d92225d2f79cdf9747f0ca9b5461e0211f583 | |
| parent | ce1f2ccf5a5ac9343623bd115a05e4151d93af0d (diff) | |
| download | rust-46ad13136c96acfa05c2249796913b3280ae0fc3.tar.gz rust-46ad13136c96acfa05c2249796913b3280ae0fc3.zip | |
update fn pointer trait impl docs
| -rw-r--r-- | library/core/src/primitive_docs.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs index bd2851a26fb..5025b77d698 100644 --- a/library/core/src/primitive_docs.rs +++ b/library/core/src/primitive_docs.rs @@ -1634,9 +1634,8 @@ mod prim_ref {} /// function pointers of varying length. Note that this is a convenience notation to avoid /// repetitive documentation, not valid Rust syntax. /// -/// Due to a temporary restriction in Rust's type system, these traits are only implemented on -/// functions that take 12 arguments or less, with the `"Rust"` and `"C"` ABIs. In the future, this -/// may change: +/// The following traits are implemented for function pointers with any number of arguments and +/// any ABI. /// /// * [`PartialEq`] /// * [`Eq`] @@ -1645,11 +1644,6 @@ mod prim_ref {} /// * [`Hash`] /// * [`Pointer`] /// * [`Debug`] -/// -/// The following traits are implemented for function pointers with any number of arguments and -/// any ABI. These traits have implementations that are automatically generated by the compiler, -/// so are not limited by missing language features: -/// /// * [`Clone`] /// * [`Copy`] /// * [`Send`] |
