From 789fbd69f50e3e60ee969b280c23b21a53ad96cc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:05:52 +0100 Subject: [PATCH] Fix clippy: Derive Eq for FilterContext Signed-off-by: Matthias Beyer --- src/entities/filter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/filter.rs b/src/entities/filter.rs index 96ecbb8..c32481e 100644 --- a/src/entities/filter.rs +++ b/src/entities/filter.rs @@ -12,7 +12,7 @@ pub struct Filter { } /// Represents the various types of Filter contexts -#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)] pub enum FilterContext { /// Represents the "home" context #[serde(rename = "home")]