Skip to content

Commit 071db39

Browse files
committed
uefi: fix unused use
1 parent cedcce9 commit 071db39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

uefi/src/proto/tcg/v1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use ptr_meta::Pointee;
2222
use {crate::mem::make_boxed, alloc::boxed::Box};
2323

2424
#[cfg(all(feature = "unstable", feature = "alloc"))]
25-
use {alloc::alloc::Global, core::alloc::Allocator};
25+
use alloc::alloc::Global;
2626

2727
/// 20-byte SHA-1 digest.
2828
pub type Sha1Digest = [u8; 20];

uefi/src/proto/tcg/v2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use ptr_meta::{Pointee, PtrExt};
2525
use {crate::mem::make_boxed, alloc::boxed::Box};
2626

2727
#[cfg(all(feature = "unstable", feature = "alloc"))]
28-
use {alloc::alloc::Global, core::alloc::Allocator};
28+
use alloc::alloc::Global;
2929

3030
/// Version information.
3131
///

0 commit comments

Comments
 (0)