diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-02-04 05:38:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 05:38:06 -0500 |
| commit | af178aa806a2cbd581641e9d090f549372c802bc (patch) | |
| tree | 19897ea355e6bbacf068dc0ced8006f88b5e9061 | |
| parent | 5178a3630e2a93cace40da112fde6c1695023bb6 (diff) | |
| parent | d47cb21188ad1356fa7305ab2b87a7108c86abcd (diff) | |
| download | rust-af178aa806a2cbd581641e9d090f549372c802bc.tar.gz rust-af178aa806a2cbd581641e9d090f549372c802bc.zip | |
Rollup merge of #136518 - Urgau:fn_ptr-public-bound, r=Noratrieb
Add note about `FnPtr` trait being exposed as public bound
| -rw-r--r-- | library/core/src/marker.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs index 18ada14d101..1a8ef20dd7b 100644 --- a/library/core/src/marker.rs +++ b/library/core/src/marker.rs @@ -1077,6 +1077,9 @@ marker_impls! { } /// A common trait implemented by all function pointers. +// +// Note that while the trait is internal and unstable it is nevertheless +// exposed as a public bound of the stable `core::ptr::fn_addr_eq` function. #[unstable( feature = "fn_ptr_trait", issue = "none", |
