Stabilize waker_getters · patricklam/verify-rust-std@a2b8bb8

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

}