We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f01641e commit a190a7eCopy full SHA for a190a7e
futures-executor/src/local_pool.rs
@@ -64,7 +64,7 @@ impl Wake for ThreadNotify {
64
fn wake(self: Arc<Self>) {
65
self.wake_by_ref();
66
}
67
-
+
68
fn wake_by_ref(self: &Arc<Self>) {
69
// Make sure the wakeup is remembered until the next `park()`.
70
let unparked = self.unparked.swap(true, Ordering::Relaxed);
futures/tests/no-std/src/lib.rs
@@ -8,7 +8,7 @@ pub use futures_core::task::__internal::AtomicWaker as _;
8
9
#[cfg(feature = "futures-task-alloc")]
10
#[cfg(target_has_atomic = "ptr")]
11
-pub use futures_task::ArcWake as _;
+pub use futures_task::task::Wake as _;
12
13
#[cfg(feature = "futures-channel-alloc")]
14
0 commit comments