about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/arc.rs2
-rw-r--r--src/libstd/sync.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/arc.rs b/src/libstd/arc.rs
index a1f7beb57a7..79c407e1b99 100644
--- a/src/libstd/arc.rs
+++ b/src/libstd/arc.rs
@@ -6,7 +6,7 @@
  * between tasks.
  */
 
-use unsafe::{SharedMutableState, shared_mutable_state,
+use private::{SharedMutableState, shared_mutable_state,
                 clone_shared_mutable_state, unwrap_shared_mutable_state,
                 get_shared_mutable_state, get_shared_immutable_state};
 use sync::{Mutex,  mutex_with_condvars,
diff --git a/src/libstd/sync.rs b/src/libstd/sync.rs
index 25e6d85d1c0..68e9f24a863 100644
--- a/src/libstd/sync.rs
+++ b/src/libstd/sync.rs
@@ -11,7 +11,7 @@
 export Condvar, Semaphore, Mutex, mutex_with_condvars;
 export RWlock, rwlock_with_condvars, RWlockReadMode, RWlockWriteMode;
 
-use unsafe::{Exclusive, exclusive};
+use private::{Exclusive, exclusive};
 
 /****************************************************************************
  * Internals