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/thread | |
| parent | 913c2273eba32c7a33e068a5ac68007d7f8419d1 (diff) | |
| download | rust-ec333380e03eb1fb94c4938db888d5bed40b8fd6.tar.gz rust-ec333380e03eb1fb94c4938db888d5bed40b8fd6.zip | |
Fix libstd tests
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/local.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index 2c4b716cc6e..60563340d10 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs @@ -405,7 +405,6 @@ mod imp { mod imp { use prelude::v1::*; - use alloc::boxed; use cell::{Cell, UnsafeCell}; use marker; use ptr; @@ -447,7 +446,7 @@ mod imp { key: self, value: UnsafeCell::new(None), }; - let ptr = boxed::into_raw(ptr); + let ptr = Box::into_raw(ptr); self.os.set(ptr as *mut u8); Some(&(*ptr).value) } |
