Fix test
This commit is contained in:
parent
9e6bc3c438
commit
f005e1c5d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue