diff options
author | Carl Lerche <me@carllerche.com> | 2019-11-04 22:22:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 22:22:40 -0800 |
commit | a6253ed05a1e0d14bc64915f5937c29092df9497 (patch) | |
tree | 15c96ca9b66e5bca424769e8c715f732feaa1b1c /tokio/src/sync/task | |
parent | 94f9b04b066cfc3da5c3ee2c961c21a9496135dd (diff) |
chore: unify all mocked `loom` files (#1732)
When the crates were merged, each component kept its own `loom` file
containing mocked types it needed. This patch unifies them all in one
location.
Diffstat (limited to 'tokio/src/sync/task')
-rw-r--r-- | tokio/src/sync/task/atomic_waker.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/sync/task/atomic_waker.rs b/tokio/src/sync/task/atomic_waker.rs index ff952a18..88d083d6 100644 --- a/tokio/src/sync/task/atomic_waker.rs +++ b/tokio/src/sync/task/atomic_waker.rs @@ -1,5 +1,5 @@ -use crate::sync::loom::sync::atomic::{self, AtomicUsize}; -use crate::sync::loom::sync::CausalCell; +use crate::loom::cell::CausalCell; +use crate::loom::sync::atomic::{self, AtomicUsize}; use std::fmt; use std::sync::atomic::Ordering::{AcqRel, Acquire, Release}; |