fix waker_getters
tracking issue number
This commit is contained in:
parent
5b8bc568d2
commit
04f3adb4a7
1 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ impl RawWaker {
|
|||
/// Get the `data` pointer used to create this `RawWaker`.
|
||||
#[inline]
|
||||
#[must_use]
|
||||
#[unstable(feature = "waker_getters", issue = "87021")]
|
||||
#[unstable(feature = "waker_getters", issue = "96992")]
|
||||
pub fn data(&self) -> *const () {
|
||||
self.data
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ impl RawWaker {
|
|||
/// Get the `vtable` pointer used to create this `RawWaker`.
|
||||
#[inline]
|
||||
#[must_use]
|
||||
#[unstable(feature = "waker_getters", issue = "87021")]
|
||||
#[unstable(feature = "waker_getters", issue = "96992")]
|
||||
pub fn vtable(&self) -> &'static RawWakerVTable {
|
||||
self.vtable
|
||||
}
|
||||
|
@ -371,7 +371,7 @@ impl Waker {
|
|||
/// Get a reference to the underlying [`RawWaker`].
|
||||
#[inline]
|
||||
#[must_use]
|
||||
#[unstable(feature = "waker_getters", issue = "87021")]
|
||||
#[unstable(feature = "waker_getters", issue = "96992")]
|
||||
pub fn as_raw(&self) -> &RawWaker {
|
||||
&self.waker
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue