diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-06 16:48:51 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-01-07 23:51:38 -0800 |
| commit | 7e0443d6c4e683105f20de85dc4591cc5cf2518d (patch) | |
| tree | 631c8a852acedabef00ba3e371e785e90a581c56 /src/libstd/rt/local_ptr.rs | |
| parent | 5350ee740e66a73161eb4cdf5b95d55fe570fc26 (diff) | |
| download | rust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.tar.gz rust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.zip | |
std: Fill in all missing imports
Fallout from the previous commits
Diffstat (limited to 'src/libstd/rt/local_ptr.rs')
| -rw-r--r-- | src/libstd/rt/local_ptr.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/rt/local_ptr.rs b/src/libstd/rt/local_ptr.rs index 546a6476b57..f4efd8e27d0 100644 --- a/src/libstd/rt/local_ptr.rs +++ b/src/libstd/rt/local_ptr.rs @@ -19,6 +19,7 @@ use cast; use ops::Drop; +use ptr::RawPtr; #[cfg(windows)] // mingw-w32 doesn't like thread_local things #[cfg(target_os = "android")] // see #10686 @@ -79,6 +80,7 @@ pub unsafe fn borrow<T>() -> Borrowed<T> { pub mod compiled { use cast; use option::{Option, Some, None}; + use ptr::RawPtr; #[cfg(not(test))] use libc::c_void; #[cfg(test)] @@ -177,6 +179,7 @@ pub mod native { use libc::c_void; use option::{Option, Some, None}; use ptr; + use ptr::RawPtr; use tls = rt::thread_local_storage; static mut RT_TLS_KEY: tls::Key = -1; |
