From e2116c8fba6e73bc2bbf7cb6bb41911d4daed043 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Mon, 22 Dec 2014 12:29:46 +0100 Subject: Move RacyCell to `std::comm` RacyCell is not exactly what we'd like as a final implementation for this. Therefore, we're moving it under `std::comm` and also making it private. --- src/libstd/sys/unix/mutex.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstd/sys') diff --git a/src/libstd/sys/unix/mutex.rs b/src/libstd/sys/unix/mutex.rs index 986f50bc8de..3b0114b3e90 100644 --- a/src/libstd/sys/unix/mutex.rs +++ b/src/libstd/sys/unix/mutex.rs @@ -8,8 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +use comm::RacyCell; +use cell::UnsafeCell; use kinds::Sync; -use cell::{UnsafeCell, RacyCell}; use sys::sync as ffi; use sys_common::mutex; -- cgit 1.4.1-3-g733a5