Skip to content

Commit 9641c4b

Browse files
authored
Merge pull request #11 from csssuf/status-copy
base: derive Clone, Copy for Status
2 parents ad3bd8f + 904cbad commit 9641c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub struct Event(pub *mut CVoid);
7070
/// Type for EFI_STATUS
7171
#[cfg_attr(target_pointer_width = "32", repr(u32))]
7272
#[cfg_attr(target_pointer_width = "64", repr(u64))]
73-
#[derive(PartialEq, PartialOrd, Debug)]
73+
#[derive(PartialEq, PartialOrd, Debug, Clone, Copy)]
7474
pub enum Status {
7575
Success = 0,
7676
LoadError = 1,

0 commit comments

Comments
 (0)