Skip to content

Commit 3c33169

Browse files
Urgaugitbot
authored and
gitbot
committed
Add note about FnPtr being exposed as public bound
1 parent ace9cea commit 3c33169

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
@@ -1070,6 +1070,9 @@ marker_impls! {
10701070
}
10711071

10721072
/// A common trait implemented by all function pointers.
1073+
//
1074+
// Note that while the trait is internal and unstable it is nevertheless
1075+
// exposed as a public bound of the stable `core::ptr::fn_addr_eq` function.
10731076
#[unstable(
10741077
feature = "fn_ptr_trait",
10751078
issue = "none",

0 commit comments

Comments
 (0)