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:
commit
af178aa806
1 changed files with 3 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue