Skip to content

Commit 6b6ad0a

Browse files
Urgaugitbot
authored and
gitbot
committed
Add note about FnPtr being exposed as public bound
1 parent 8387e51 commit 6b6ad0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)