Skip to content

Commit

Permalink
chore: fix bitflags declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
alixinne authored and vtavernier committed Apr 27, 2023
1 parent a0d5aca commit ba3b459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions efivar/src/efi/variable_flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::Error;

bitflags! {
/// Possible attributes of EFI variables as a bitfield
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct VariableFlags : u32 {
const NON_VOLATILE = 0x1;
const BOOTSERVICE_ACCESS = 0x2;
Expand Down

0 comments on commit ba3b459

Please sign in to comment.