From 0c849de1a2bad4b63b15b0155ecef8758f5211e5 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 17 Aug 2015 13:56:55 -0700 Subject: core: Move `atomic` into a new `sync` module This mirrors the same hierarchy in the standard library. --- src/libstd/sync/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sync') 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}; -- cgit 1.4.1-3-g733a5