Skip to content

Commit

Permalink
sync: fix Sync assertion for AtomicWaker (#5165)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhirtz committed Nov 4, 2022
1 parent 32da1aa commit 5b46395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/tests/atomic_waker.rs
Expand Up @@ -4,7 +4,7 @@ use tokio_test::task;
use std::task::Waker;

trait AssertSend: Send {}
trait AssertSync: Send {}
trait AssertSync: Sync {}

impl AssertSend for AtomicWaker {}
impl AssertSync for AtomicWaker {}
Expand Down

0 comments on commit 5b46395

Please sign in to comment.