Skip to content

Commit

Permalink
[AllocPolicy]: Derive Eq to satisfy clippy
Browse files Browse the repository at this point in the history
Signed-off-by: AlexandruCihodaru <alexandru.ciprian.cihodaru@intel.com>
  • Loading branch information
AlexandruCihodaru committed Aug 29, 2022
1 parent fdc0ad5 commit e0f295b
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 @@ -283,7 +283,7 @@ impl Constraint {
}

/// Policy for resource allocation.
#[derive(Copy, Clone, Debug, PartialEq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum AllocPolicy {
/// Allocate the first matched entry.
FirstMatch,
Expand Down

0 comments on commit e0f295b

Please sign in to comment.