Skip to content

Commit 2dc7514

Browse files
committed
Stabilize waker_getters
1 parent 8d3e5fa commit 2dc7514

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Diff for: library/core/src/task/wake.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -552,15 +552,15 @@ impl Waker {
552552
/// Gets the `data` pointer used to create this `Waker`.
553553
#[inline]
554554
#[must_use]
555-
#[unstable(feature = "waker_getters", issue = "96992")]
555+
#[stable(feature = "waker_getters", since = "CURRENT_RUSTC_VERSION")]
556556
pub fn data(&self) -> *const () {
557557
self.waker.data
558558
}
559559

560560
/// Gets the `vtable` pointer used to create this `Waker`.
561561
#[inline]
562562
#[must_use]
563-
#[unstable(feature = "waker_getters", issue = "96992")]
563+
#[stable(feature = "waker_getters", since = "CURRENT_RUSTC_VERSION")]
564564
pub fn vtable(&self) -> &'static RawWakerVTable {
565565
self.waker.vtable
566566
}
@@ -826,15 +826,15 @@ impl LocalWaker {
826826
/// Gets the `data` pointer used to create this `LocalWaker`.
827827
#[inline]
828828
#[must_use]
829-
#[unstable(feature = "waker_getters", issue = "96992")]
829+
#[unstable(feature = "local_waker", issue = "118959")]
830830
pub fn data(&self) -> *const () {
831831
self.waker.data
832832
}
833833

834834
/// Gets the `vtable` pointer used to create this `LocalWaker`.
835835
#[inline]
836836
#[must_use]
837-
#[unstable(feature = "waker_getters", issue = "96992")]
837+
#[unstable(feature = "local_waker", issue = "118959")]
838838
pub fn vtable(&self) -> &'static RawWakerVTable {
839839
self.waker.vtable
840840
}

Diff for: library/core/tests/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
#![feature(unsize)]
113113
#![feature(unsized_tuple_coercion)]
114114
#![feature(unwrap_infallible)]
115-
#![feature(waker_getters)]
116115
// tidy-alphabetical-end
117116
#![allow(internal_features)]
118117
#![deny(fuzzy_provenance_casts)]

0 commit comments

Comments
 (0)