Skip to content

Commit 75835fb

Browse files
committed
Repoint Waker::from_fn_ptr from feature request issue to tracking issue
1 parent 675ba38 commit 75835fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/task/wake.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ impl Waker {
588588
/// Constructs a `Waker` from a function pointer.
589589
#[inline]
590590
#[must_use]
591-
#[unstable(feature = "waker_from_fn_ptr", issue = "146055")]
591+
#[unstable(feature = "waker_from_fn_ptr", issue = "148457")]
592592
pub const fn from_fn_ptr(f: fn()) -> Self {
593593
// SAFETY: Unsafe is used for transmutes, pointer came from `fn()` so it
594594
// is sound to transmute it back to `fn()`.
@@ -905,7 +905,7 @@ impl LocalWaker {
905905
/// Constructs a `LocalWaker` from a function pointer.
906906
#[inline]
907907
#[must_use]
908-
#[unstable(feature = "waker_from_fn_ptr", issue = "146055")]
908+
#[unstable(feature = "waker_from_fn_ptr", issue = "148457")]
909909
pub const fn from_fn_ptr(f: fn()) -> Self {
910910
// SAFETY: Unsafe is used for transmutes, pointer came from `fn()` so it
911911
// is sound to transmute it back to `fn()`.

0 commit comments

Comments
 (0)