Fix clippy: Derive Eq for FilterContext

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 19:05:52 +01:00
parent bf9bad441f
commit 789fbd69f5
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ pub struct Filter {
} }
/// Represents the various types of Filter contexts /// 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 { pub enum FilterContext {
/// Represents the "home" context /// Represents the "home" context
#[serde(rename = "home")] #[serde(rename = "home")]