We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b0fc12 commit 68d38a5Copy full SHA for 68d38a5
futures-executor/tests/local_pool.rs
@@ -414,8 +414,8 @@ fn park_unpark_independence() {
414
return Poll::Ready(());
415
}
416
done = true;
417
- cx.waker().clone().wake(); // (*)
418
- // some user-code that temporarily parks the thread
+ cx.waker().wake_by_ref(); // (*)
+ // some user-code that temporarily parks the thread
419
let test = thread::current();
420
let latch = Arc::new(AtomicBool::new(false));
421
let signal = latch.clone();
0 commit comments