about summary refs log tree commit diff
path: root/src/libstd
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/libstd
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/libstd')
-rw-r--r--src/libstd/sync/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mod.rs b/src/libstd/sync/mod.rs
index 28fab5a2c9d..092d7c47d33 100644
--- a/src/libstd/sync/mod.rs
+++ b/src/libstd/sync/mod.rs
@@ -18,7 +18,7 @@
 #![stable(feature = "rust1", since = "1.0.0")]
 
 pub use alloc::arc::{Arc, Weak};
-pub use core::atomic;
+pub use core::sync::atomic;
 
 pub use self::barrier::{Barrier, BarrierWaitResult};
 pub use self::condvar::{Condvar, StaticCondvar, CONDVAR_INIT};