diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-06-12 10:49:39 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-06-18 10:51:31 -0700 |
| commit | ec333380e03eb1fb94c4938db888d5bed40b8fd6 (patch) | |
| tree | d61a76778a5f1b0bb2de0f754e033f09234e70da /src/libstd/sys/windows | |
| parent | 913c2273eba32c7a33e068a5ac68007d7f8419d1 (diff) | |
| download | rust-ec333380e03eb1fb94c4938db888d5bed40b8fd6.tar.gz rust-ec333380e03eb1fb94c4938db888d5bed40b8fd6.zip | |
Fix libstd tests
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/thread_local.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/sys/windows/thread_local.rs b/src/libstd/sys/windows/thread_local.rs index a3d522d1757..5002de55988 100644 --- a/src/libstd/sys/windows/thread_local.rs +++ b/src/libstd/sys/windows/thread_local.rs @@ -12,7 +12,6 @@ use prelude::v1::*; use libc::types::os::arch::extra::{DWORD, LPVOID, BOOL}; -use boxed; use ptr; use rt; use sys_common::mutex::Mutex; @@ -143,7 +142,7 @@ unsafe fn init_dtors() { DTOR_LOCK.unlock(); }); if res.is_ok() { - DTORS = boxed::into_raw(dtors); + DTORS = Box::into_raw(dtors); } else { DTORS = 1 as *mut _; } |
