From e0f295be00d8dd36d24def7e5a2e0fda36aba1e5 Mon Sep 17 00:00:00 2001 From: AlexandruCihodaru Date: Mon, 29 Aug 2022 22:07:39 +0300 Subject: [PATCH] [AllocPolicy]: Derive Eq to satisfy clippy Signed-off-by: AlexandruCihodaru --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 29ddc0a..ea01ed6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,