Skip to content

Commit b8373b0

Browse files
Make ProtocolSearchKey field pub(crate)
This will allow it to be used in `uefi::boot::locate_handle_buffer`.
1 parent 112e20b commit b8373b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uefi/src/table/boot.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1716,4 +1716,4 @@ impl<'a> HandleBuffer<'a> {
17161716
/// with [`BootServices::locate_handle`] via [`SearchType::ByRegisterNotify`].
17171717
#[derive(Debug, Clone, Copy)]
17181718
#[repr(transparent)]
1719-
pub struct ProtocolSearchKey(NonNull<c_void>);
1719+
pub struct ProtocolSearchKey(pub(crate) NonNull<c_void>);

0 commit comments

Comments
 (0)