mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Fix test
This commit is contained in:
parent
9e6bc3c438
commit
f005e1c5d7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user