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/liballoc/arc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/liballoc') 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}; -- cgit 1.4.1-3-g733a5