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 ba94fcd commit b2e5f75Copy full SHA for b2e5f75
src/hole.rs
@@ -1,4 +1,4 @@
1
-use alloc::allocator::{AllocErr, Layout};
+use alloc::alloc::{AllocErr, Layout};
2
use core::mem::size_of;
3
use core::ptr::NonNull;
4
src/lib.rs
@@ -12,7 +12,7 @@ extern crate spin;
12
13
extern crate alloc;
14
15
-use alloc::allocator::{Alloc, AllocErr, Layout};
+use alloc::alloc::{Alloc, AllocErr, Layout};
16
use core::alloc::{GlobalAlloc};
17
use core::mem;
18
#[cfg(feature = "use_spin")]
0 commit comments