We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e6bc3c commit f005e1cCopy full SHA for f005e1c
src/test/run-pass/futures-api.rs
@@ -69,7 +69,7 @@ struct Counter {
69
wakes: AtomicUsize,
70
}
71
72
-impl Wake for Counter {
+impl ArcWake for Counter {
73
fn wake(arc_self: &Arc<Self>) {
74
arc_self.wakes.fetch_add(1, atomic::Ordering::SeqCst);
75
0 commit comments