We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d3377 commit 1beaebbCopy full SHA for 1beaebb
src/libstd/sys/windows/thread.rs
@@ -11,7 +11,6 @@
11
use prelude::v1::*;
12
13
use boxed;
14
-use boxed::Box;
15
use cmp;
16
use io;
17
use mem;
src/libstd/sys/windows/thread_local.rs
@@ -12,6 +12,7 @@ use prelude::v1::*;
use libc::types::os::arch::extra::{DWORD, LPVOID, BOOL};
+use boxed;
use ptr;
18
use rt;
@@ -139,7 +140,7 @@ unsafe fn init_dtors() {
139
140
DTOR_LOCK.lock();
141
let dtors = DTORS;
142
DTORS = ptr::null_mut();
- Boxed::from_raw(dtors);
143
+ Box::from_raw(dtors);
144
assert!(DTORS.is_null()); // can't re-init after destructing
145
DTOR_LOCK.unlock();
146
});
0 commit comments