This commit is contained in:
jtnunley 2022-08-28 15:24:37 -07:00
parent 74c5a86fe3
commit 3a2780c166
1 changed files with 5 additions and 5 deletions

View File

@ -17,10 +17,10 @@ use core::fmt;
use core::sync::atomic::Ordering::{AcqRel, Acquire, Release};
use core::task::Waker;
#[cfg(not(feature = "atomic-polyfill"))]
use core::sync::atomic::AtomicUsize;
#[cfg(feature = "atomic-polyfill")]
use atomic_polyfill::AtomicUsize;
#[cfg(not(feature = "atomic-polyfill"))]
use core::sync::atomic::AtomicUsize;
/// A synchronization primitive for task wakeup.
///