diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-17 13:56:55 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-17 14:03:32 -0700 |
| commit | 0c849de1a2bad4b63b15b0155ecef8758f5211e5 (patch) | |
| tree | fec7904aa8c872d9709c9cfc9ceaefe9ba4d7481 /src/liballoc | |
| parent | 8cb4d8671afecdcfd2432e08c8f43673ce51f67d (diff) | |
| download | rust-0c849de1a2bad4b63b15b0155ecef8758f5211e5.tar.gz rust-0c849de1a2bad4b63b15b0155ecef8758f5211e5.zip | |
core: Move `atomic` into a new `sync` module
This mirrors the same hierarchy in the standard library.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 8af4cee9095..a0fa0881975 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -71,8 +71,8 @@ use boxed::Box; -use core::atomic; -use core::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst}; +use core::sync::atomic; +use core::sync::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst}; use core::fmt; use core::cmp::Ordering; use core::mem::{align_of_val, size_of_val}; |
