diff --git a/src/app_data/container_state.rs b/src/app_data/container_state.rs index 183186c..d18572f 100644 --- a/src/app_data/container_state.rs +++ b/src/app_data/container_state.rs @@ -78,7 +78,7 @@ impl StatefulList { } /// States of the container -#[derive(Clone, Debug, PartialEq, PartialOrd)] +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd)] pub enum State { Dead, Exited, diff --git a/src/app_data/mod.rs b/src/app_data/mod.rs index 39bc5ee..7638163 100644 --- a/src/app_data/mod.rs +++ b/src/app_data/mod.rs @@ -20,7 +20,7 @@ pub struct AppData { sorted_by: Option<(Header, SortedOrder)>, } -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq, Eq)] pub enum SortedOrder { Asc, Desc,