about summary refs log tree commit diff
path: root/src/libstd/unstable
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-06 16:48:51 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-07 23:51:38 -0800
commit7e0443d6c4e683105f20de85dc4591cc5cf2518d (patch)
tree631c8a852acedabef00ba3e371e785e90a581c56 /src/libstd/unstable
parent5350ee740e66a73161eb4cdf5b95d55fe570fc26 (diff)
downloadrust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.tar.gz
rust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.zip
std: Fill in all missing imports
Fallout from the previous commits
Diffstat (limited to 'src/libstd/unstable')
-rw-r--r--src/libstd/unstable/mutex.rs1
-rw-r--r--src/libstd/unstable/stack.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/unstable/mutex.rs b/src/libstd/unstable/mutex.rs
index e11557ff337..3f03486d426 100644
--- a/src/libstd/unstable/mutex.rs
+++ b/src/libstd/unstable/mutex.rs
@@ -167,6 +167,7 @@ mod imp {
     use libc::c_void;
     use libc;
     use ptr;
+    use ptr::RawPtr;
 
     type pthread_mutex_t = libc::c_void;
     type pthread_mutexattr_t = libc::c_void;
diff --git a/src/libstd/unstable/stack.rs b/src/libstd/unstable/stack.rs
index d6cd690eaa9..5b5eaf9d8d0 100644
--- a/src/libstd/unstable/stack.rs
+++ b/src/libstd/unstable/stack.rs
@@ -24,6 +24,8 @@
 //! detection is not guaranteed to continue in the future. Usage of this module
 //! is discouraged unless absolutely necessary.
 
+use str::Str;
+
 static RED_ZONE: uint = 20 * 1024;
 
 /// This function is invoked from rust's current __morestack function. Segmented