Skip to content

Commit

Permalink
Add note about FnPtr being exposed as public bound
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau authored and gitbot committed Feb 20, 2025
1 parent 9e85484 commit 939e4bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 939e4bb

Please sign in to comment.