Skip to content

Commit 5d7881f

Browse files
uefi: Reformat use items in pxe module
In the rest of the crate we generally don't have blank lines between sections of `use`, so remove that in the pxe module.
1 parent ed5a777 commit 5d7881f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

uefi/src/proto/network/pxe.rs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@
22

33
//! PXE Base Code protocol.
44
5+
use super::{IpAddress, MacAddress};
6+
use crate::polyfill::maybe_uninit_slice_as_mut_ptr;
7+
use crate::proto::unsafe_protocol;
8+
use crate::util::ptr_write_unaligned_and_add;
9+
use crate::{CStr8, Char8, Result, Status, StatusExt};
10+
use bitflags::bitflags;
511
use core::ffi::c_void;
612
use core::fmt::{self, Debug, Display, Formatter};
713
use core::iter::from_fn;
814
use core::mem::MaybeUninit;
915
use core::ptr::{null, null_mut};
10-
11-
use crate::polyfill::maybe_uninit_slice_as_mut_ptr;
12-
use crate::proto::unsafe_protocol;
13-
use crate::util::ptr_write_unaligned_and_add;
14-
use bitflags::bitflags;
1516
use ptr_meta::Pointee;
1617
use uefi_raw::protocol::network::pxe::PxeBaseCodeTftpOpcode;
1718

18-
use crate::{CStr8, Char8, Result, Status, StatusExt};
19-
20-
use super::{IpAddress, MacAddress};
21-
2219
pub use uefi_raw::protocol::network::pxe::{
2320
PxeBaseCodeBootType as BootstrapType, PxeBaseCodeIpFilterFlags as IpFilters,
2421
PxeBaseCodeUdpOpFlags as UdpOpFlags,

0 commit comments

Comments
 (0)