mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
sync: fix Sync
assertion for AtomicWaker
(#5165)
This commit is contained in:
parent
32da1aa9da
commit
5b46395a1e
@ -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 {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user