Stabilize waker_getters · patricklam/verify-rust-std@a2b8bb8 (original) (raw)

Original file line number Diff line number Diff line change
@@ -552,15 +552,15 @@ impl Waker {
552 552 /// Gets the `data` pointer used to create this `Waker`.
553 553 #[inline]
554 554 #[must_use]
555 -#[unstable(feature = "waker_getters", issue = "96992")]
555 +#[stable(feature = "waker_getters", since = "CURRENT_RUSTC_VERSION")]
556 556 pub fn data(&self) -> *const () {
557 557 self.waker.data
558 558 }
559 559
560 560 /// Gets the `vtable` pointer used to create this `Waker`.
561 561 #[inline]
562 562 #[must_use]
563 -#[unstable(feature = "waker_getters", issue = "96992")]
563 +#[stable(feature = "waker_getters", since = "CURRENT_RUSTC_VERSION")]
564 564 pub fn vtable(&self) -> &'static RawWakerVTable {
565 565 self.waker.vtable
566 566 }
@@ -826,15 +826,15 @@ impl LocalWaker {
826 826 /// Gets the `data` pointer used to create this `LocalWaker`.
827 827 #[inline]
828 828 #[must_use]
829 -#[unstable(feature = "waker_getters", issue = "96992")]
829 +#[unstable(feature = "local_waker", issue = "118959")]
830 830 pub fn data(&self) -> *const () {
831 831 self.waker.data
832 832 }
833 833
834 834 /// Gets the `vtable` pointer used to create this `LocalWaker`.
835 835 #[inline]
836 836 #[must_use]
837 -#[unstable(feature = "waker_getters", issue = "96992")]
837 +#[unstable(feature = "local_waker", issue = "118959")]
838 838 pub fn vtable(&self) -> &'static RawWakerVTable {
839 839 self.waker.vtable
840 840 }