diff --git a/library/std/src/sys/pal/uefi/alloc.rs b/library/std/src/sys/pal/uefi/alloc.rs index ad3904d82f3..15404ac3ea6 100644 --- a/library/std/src/sys/pal/uefi/alloc.rs +++ b/library/std/src/sys/pal/uefi/alloc.rs @@ -3,9 +3,9 @@ use r_efi::protocols::loaded_image; +use super::helpers; use crate::alloc::{GlobalAlloc, Layout, System}; use crate::sync::OnceLock; -use crate::sys::uefi::helpers; #[stable(feature = "alloc_system_type", since = "1.28.0")] unsafe impl GlobalAlloc for System { diff --git a/library/std/src/sys/pal/uefi/args.rs b/library/std/src/sys/pal/uefi/args.rs index 4ff7be748e9..18a69afa7d9 100644 --- a/library/std/src/sys/pal/uefi/args.rs +++ b/library/std/src/sys/pal/uefi/args.rs @@ -1,11 +1,11 @@ use r_efi::protocols::loaded_image; +use super::helpers; use crate::env::current_exe; use crate::ffi::OsString; use crate::fmt; use crate::iter::Iterator; use crate::mem::size_of; -use crate::sys::uefi::helpers; use crate::vec; pub struct Args {