Skip to content

Commit d27f05a

Browse files
committed
xxx
1 parent bb93cb9 commit d27f05a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

uefi-raw/src/protocol/device_path/device_path_gen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#![allow(missing_debug_implementations)]
1111
use crate::protocol::device_path;
1212
use crate::table::boot::MemoryType;
13-
use crate::{Guid, IpAddress, guid};
13+
use crate::{guid, Guid, IpAddress};
1414
use bitflags::bitflags;
1515
use device_path::DevicePathProtocol as DevicePathHeader;
1616
#[cfg(doc)]

uefi/src/proto/device_path/device_path_gen.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::proto::device_path::{
1515
self, DevicePathHeader, DevicePathNode, DeviceSubType, DeviceType, NodeConversionError,
1616
};
1717
use crate::proto::network::IpAddress;
18-
use crate::{Guid, guid};
18+
use crate::{guid, Guid};
1919
use bitflags::bitflags;
2020
use core::mem::{size_of, size_of_val};
2121
use core::ptr::addr_of;
@@ -3647,10 +3647,10 @@ impl TryFrom<&DevicePathNode> for DevicePathNodeEnum<'_> {
36473647
/// Build device paths from their component nodes.
36483648
pub mod build {
36493649
use super::*;
3650-
use crate::CStr16;
36513650
use crate::proto::device_path::build::{BuildError, BuildNode};
36523651
use crate::proto::device_path::{DeviceSubType, DeviceType};
3653-
use core::mem::{MaybeUninit, size_of_val};
3652+
use crate::CStr16;
3653+
use core::mem::{size_of_val, MaybeUninit};
36543654
/// Device path build nodes for [`DeviceType::END`].
36553655
pub mod end {
36563656
use super::*;

xtask/src/device_path/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ fn gen_uefi_raw_code_as_string(groups: &[NodeGroup]) -> Result<String> {
5454
use bitflags::bitflags;
5555
use crate::protocol::device_path;
5656
use crate::table::boot::MemoryType;
57+
// FUCK SHIT
5758
use crate::{Guid, IpAddress, guid};
5859
use device_path::DevicePathProtocol as DevicePathHeader;
5960
#[cfg(doc)]

0 commit comments

Comments
 (0)