Skip to content

Commit 32f5724

Browse files
withoutboatsKodrAus
andcommitted
Apply suggestions from code review
Co-Authored-By: Ashley Mannix <[email protected]>
1 parent caff9f9 commit 32f5724

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/liballoc/task.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ use crate::sync::Arc;
1616
/// used to wake up a task is stored in an [`Arc`]. Some executors (especially
1717
/// those for embedded systems) cannot use this API, which is why [`RawWaker`]
1818
/// exists as an alternative for those systems.
19-
#[unstable(feature = "wake_trait", issue = "0")]
19+
#[unstable(feature = "wake_trait", issue = "69912")]
2020
pub trait Wake {
2121
/// Wake this task.
22-
#[unstable(feature = "wake_trait", issue = "0")]
22+
#[unstable(feature = "wake_trait", issue = "69912")]
2323
fn wake(self: Arc<Self>);
2424

2525
/// Wake this task without consuming the waker.
2626
///
2727
/// If an executor supports a cheaper way to wake without consuming the
2828
/// waker, it should override this method. By default, it clones the
2929
/// [`Arc`] and calls `wake` on the clone.
30-
#[unstable(feature = "wake_trait", issue = "0")]
30+
#[unstable(feature = "wake_trait", issue = "69912")]
3131
fn wake_by_ref(self: &Arc<Self>) {
3232
self.clone().wake();
3333
}
3434
}
3535

36-
#[unstable(feature = "wake_trait", issue = "0")]
36+
#[unstable(feature = "wake_trait", issue = "69912")]
3737
impl<W: Wake + Send + Sync + 'static> From<Arc<W>> for Waker {
3838
fn from(waker: Arc<W>) -> Waker {
3939
// SAFETY: This is safe because raw_waker safely constructs
@@ -42,7 +42,7 @@ impl<W: Wake + Send + Sync + 'static> From<Arc<W>> for Waker {
4242
}
4343
}
4444

45-
#[unstable(feature = "wake_trait", issue = "0")]
45+
#[unstable(feature = "wake_trait", issue = "69912")]
4646
impl<W: Wake + Send + Sync + 'static> From<Arc<W>> for RawWaker {
4747
fn from(waker: Arc<W>) -> RawWaker {
4848
raw_waker(waker)

0 commit comments

Comments
 (0)