Skip to content

Commit 2c3dae0

Browse files
authored
Merge pull request #836 from medhefgo/handle-eq
uefi: Derive Eq for Handle
2 parents c91a478 + e05ce05 commit 2c3dae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uefi/src/data_types/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use core::ptr::NonNull;
88
/// Opaque handle to an UEFI entity (protocol, image...), guaranteed to be non-null.
99
///
1010
/// If you need to have a nullable handle (for a custom UEFI FFI for example) use `Option<Handle>`.
11-
#[derive(Clone, Copy, Debug)]
11+
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
1212
#[repr(transparent)]
1313
pub struct Handle(NonNull<c_void>);
1414

0 commit comments

Comments
 (0)