diff options
| author | Matthias Einwag <matthias.einwag@live.com> | 2019-02-03 14:59:22 -0800 |
|---|---|---|
| committer | Matthias Einwag <matthias.einwag@live.com> | 2019-02-03 14:59:22 -0800 |
| commit | f005e1c5d72c775bbb4370e9d8031fbc74efe4eb (patch) | |
| tree | 4da740b8278afdaa3effebf2e2a5511b0a31dabe /src | |
| parent | 9e6bc3c4386bf5f7f1885fdaab4ef01fdc93007e (diff) | |
| download | rust-f005e1c5d72c775bbb4370e9d8031fbc74efe4eb.tar.gz rust-f005e1c5d72c775bbb4370e9d8031fbc74efe4eb.zip | |
Fix test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/futures-api.rs | 2 |
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); } |
