1
Fork 0

Rollup merge of #136518 - Urgau:fn_ptr-public-bound, r=Noratrieb

Add note about `FnPtr` trait being exposed as public bound
This commit is contained in:
Jacob Pratt 2025-02-04 05:38:06 -05:00 committed by GitHub
commit af178aa806
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",