Skip to content

Commit

Permalink
feat: derive Hash on Flagset
Browse files Browse the repository at this point in the history
Closes #34

Signed-off-by: Richard Zak <[email protected]>
  • Loading branch information
rjzak committed Nov 11, 2023
1 parent f788922 commit 716754e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ pub trait Flags:
}
}

#[derive(Copy, Clone, Eq)]
#[derive(Copy, Clone, Eq, Hash)]
pub struct FlagSet<F: Flags>(F::Type);

#[doc(hidden)]
Expand Down

0 comments on commit 716754e

Please sign in to comment.