Fix clippy: Derive Eq for FilterContext
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
bf9bad441f
commit
789fbd69f5
|
@ -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")]
|
||||||
|
|
Loading…
Reference in New Issue