Add note about FnPtr being exposed as public bound

This commit is contained in:
Urgau 2025-02-03 23:59:43 +01:00
parent f753850659
commit d47cb21188

View file

@ -1070,6 +1070,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",