about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Einwag <matthias.einwag@live.com>2019-02-03 14:59:22 -0800
committerMatthias Einwag <matthias.einwag@live.com>2019-02-03 14:59:22 -0800
commitf005e1c5d72c775bbb4370e9d8031fbc74efe4eb (patch)
tree4da740b8278afdaa3effebf2e2a5511b0a31dabe /src
parent9e6bc3c4386bf5f7f1885fdaab4ef01fdc93007e (diff)
downloadrust-f005e1c5d72c775bbb4370e9d8031fbc74efe4eb.tar.gz
rust-f005e1c5d72c775bbb4370e9d8031fbc74efe4eb.zip
Fix test
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/futures-api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/futures-api.rs b/src/test/run-pass/futures-api.rs
index 058d09e2420..8ada7d4fa74 100644
--- a/src/test/run-pass/futures-api.rs
+++ b/src/test/run-pass/futures-api.rs
@@ -69,7 +69,7 @@ struct Counter {
     wakes: AtomicUsize,
 }
 
-impl Wake for Counter {
+impl ArcWake for Counter {
     fn wake(arc_self: &Arc<Self>) {
         arc_self.wakes.fetch_add(1, atomic::Ordering::SeqCst);
     }