Skip to content

Commit 61af6d1

Browse files
committed
Merge pull request #40 from emilio/patch-1
Use the full path for the `Box` type.
2 parents 97e1d7b + a0926a2 commit 61af6d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ macro_rules! lazy_static {
116116
#[cfg(not(feature="nightly"))]
117117
unsafe fn __stability() -> &'static $T {
118118
use std::mem::transmute;
119+
use std::boxed::Box;
119120

120121
static mut DATA: *const $T = 0 as *const $T;
121122
static mut ONCE: Once = ONCE_INIT;

0 commit comments

Comments
 (0)