Skip to content

Commit

Permalink
Expand derives for all libc_bitflags! use
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryant Mairs committed Dec 6, 2017
1 parent f778523 commit ba2d85b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ macro_rules! libc_enum {
}
) => {
$($attrs)*
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
enum $BitFlags {
$($entries)*
}
Expand All @@ -106,7 +106,7 @@ macro_rules! libc_enum {
}
) => {
$($attrs)*
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum $BitFlags {
$($entries)*
}
Expand Down

0 comments on commit ba2d85b

Please sign in to comment.