aboutsummaryrefslogtreecommitdiff
path: root/src/stream/futures_unordered/ready_to_run_queue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/futures_unordered/ready_to_run_queue.rs')
-rw-r--r--src/stream/futures_unordered/ready_to_run_queue.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/futures_unordered/ready_to_run_queue.rs b/src/stream/futures_unordered/ready_to_run_queue.rs
index 5ef6cde..4518705 100644
--- a/src/stream/futures_unordered/ready_to_run_queue.rs
+++ b/src/stream/futures_unordered/ready_to_run_queue.rs
@@ -83,7 +83,7 @@ impl<Fut> ReadyToRunQueue<Fut> {
}
pub(super) fn stub(&self) -> *const Task<Fut> {
- &*self.stub
+ Arc::as_ptr(&self.stub)
}
// Clear the queue of tasks.