1
Fork 0

fix waker_getters tracking issue number

This commit is contained in:
Lukas Markeffsky 2023-12-12 14:38:13 +01:00
parent 5b8bc568d2
commit 04f3adb4a7

View file

@ -48,7 +48,7 @@ impl RawWaker {
/// Get the `data` pointer used to create this `RawWaker`. /// Get the `data` pointer used to create this `RawWaker`.
#[inline] #[inline]
#[must_use] #[must_use]
#[unstable(feature = "waker_getters", issue = "87021")] #[unstable(feature = "waker_getters", issue = "96992")]
pub fn data(&self) -> *const () { pub fn data(&self) -> *const () {
self.data self.data
} }
@ -56,7 +56,7 @@ impl RawWaker {
/// Get the `vtable` pointer used to create this `RawWaker`. /// Get the `vtable` pointer used to create this `RawWaker`.
#[inline] #[inline]
#[must_use] #[must_use]
#[unstable(feature = "waker_getters", issue = "87021")] #[unstable(feature = "waker_getters", issue = "96992")]
pub fn vtable(&self) -> &'static RawWakerVTable { pub fn vtable(&self) -> &'static RawWakerVTable {
self.vtable self.vtable
} }
@ -371,7 +371,7 @@ impl Waker {
/// Get a reference to the underlying [`RawWaker`]. /// Get a reference to the underlying [`RawWaker`].
#[inline] #[inline]
#[must_use] #[must_use]
#[unstable(feature = "waker_getters", issue = "87021")] #[unstable(feature = "waker_getters", issue = "96992")]
pub fn as_raw(&self) -> &RawWaker { pub fn as_raw(&self) -> &RawWaker {
&self.waker &self.waker
} }