about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-08-17 13:56:55 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-08-17 14:03:32 -0700
commit0c849de1a2bad4b63b15b0155ecef8758f5211e5 (patch)
treefec7904aa8c872d9709c9cfc9ceaefe9ba4d7481 /src/liballoc
parent8cb4d8671afecdcfd2432e08c8f43673ce51f67d (diff)
downloadrust-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.rs4
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};