Skip to content

Commit fc637c8

Browse files
uefi: Add standard derives for ConfigTableEntry
1 parent 7758fe4 commit fc637c8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

uefi/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Added
44
- `uefi::system` is a new module that provides freestanding functions for
55
accessing fields of the global system table.
6+
- Add standard derives for `ConfigTableEntry`.
67

78
## Changed
89
- **Breaking:** `uefi::helpers::init` no longer takes an argument.

uefi/src/table/cfg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use core::ffi::c_void;
1414
/// Contains a set of GUID / pointer for a vendor-specific table.
1515
///
1616
/// The UEFI standard guarantees each entry is unique.
17-
#[derive(Debug)]
17+
#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
1818
#[repr(C)]
1919
pub struct ConfigTableEntry {
2020
/// The GUID identifying this table.

0 commit comments

Comments
 (0)