Skip to content

Commit 81d0aa9

Browse files
authored
Unrolled build for rust-lang#136518
Rollup merge of rust-lang#136518 - Urgau:fn_ptr-public-bound, r=Noratrieb Add note about `FnPtr` trait being exposed as public bound
2 parents 7b31983 + d47cb21 commit 81d0aa9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/core/src/marker.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,9 @@ marker_impls! {
10771077
}
10781078

10791079
/// A common trait implemented by all function pointers.
1080+
//
1081+
// Note that while the trait is internal and unstable it is nevertheless
1082+
// exposed as a public bound of the stable `core::ptr::fn_addr_eq` function.
10801083
#[unstable(
10811084
feature = "fn_ptr_trait",
10821085
issue = "none",

0 commit comments

Comments
 (0)