mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
sync: fix Sync assertion for AtomicWaker (#5165)
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user