Skip to content

Commit 006c388

Browse files
committed
Fix build on latest nightly
1 parent be11de0 commit 006c388

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/exts.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//! Utility functions for the most common UEFI patterns.
22
33
use alloc_api::{
4-
alloc::{handle_alloc_error, Alloc, Global, Layout},
5-
boxed::Box,
4+
alloc::{AllocRef, Global, handle_alloc_error},
5+
boxed::Box
66
};
7-
use core::slice;
7+
use core::{alloc::Layout, slice};
88

99
/// Creates a boxed byte buffer using the standard allocator
1010
///

0 commit comments

Comments
 (0)