Skip to content

Commit 3f96cf7

Browse files
committed
improved debug formatting of header/signature
1 parent 9e1a5d6 commit 3f96cf7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/table/boot.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,10 @@ impl Debug for BootServices {
759759
.field("open_protocol", &self.open_protocol)
760760
.field("close_protocol", &self.close_protocol)
761761
.field("open_protocol_information", &self.open_protocol_information)
762-
.field("protocols_per_handle", &(self.protocols_per_handle as *const u64))
762+
.field(
763+
"protocols_per_handle",
764+
&(self.protocols_per_handle as *const u64),
765+
)
763766
.field("locate_handle_buffer", &self.locate_handle_buffer)
764767
.field(
765768
"locate_protocol (fn ptr)",

src/table/system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use core::marker::PhantomData;
2-
use core::{slice, ptr};
2+
use core::{ptr, slice};
33

44
use crate::proto::console::text;
55
use crate::{CStr16, Char16, Handle, Result, ResultExt, Status};

0 commit comments

Comments
 (0)