Rollup merge of #118873 - lukas-code:fix_waker_getter_tracking_issue_number, r=workingjubilee
fix `waker_getters` tracking issue number The feature currently links to the closed issue https://github.com/rust-lang/rust/issues/87021. Make it link to the tracking issue https://github.com/rust-lang/rust/issues/96992 instead.
This commit is contained in:
commit
18e0966f39
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue