diff --git a/src/lib.rs b/src/lib.rs index 574cf1f..bb7610f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -223,6 +223,7 @@ impl AtomicWaker { /// Create an `AtomicWaker`. pub const fn new() -> Self { // Make sure that task is Sync + #[allow(dead_code)] trait AssertSync: Sync {} impl AssertSync for Waker {}