diff --git a/src/config.rs b/src/config.rs index 60c8879..06f5fd4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -224,19 +224,19 @@ pub struct StyleConfig { pub example_variable: Style, } -#[derive(Copy, Clone, Debug, PartialEq)] +#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub struct DisplayConfig { pub compact: bool, pub use_pager: bool, } -#[derive(Copy, Clone, Debug, PartialEq)] +#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub struct UpdatesConfig { pub auto_update: bool, pub auto_update_interval: Duration, } -#[derive(Clone, Debug, PartialEq)] +#[derive(Clone, Debug, PartialEq, Eq)] pub struct DirectoriesConfig { pub custom_pages_dir: Option, } diff --git a/src/types.rs b/src/types.rs index 0cd82d0..683a81a 100644 --- a/src/types.rs +++ b/src/types.rs @@ -185,7 +185,7 @@ impl LineType { } /// The reason why a certain path (e.g. config path or cache dir) was chosen. -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Eq)] pub enum PathSource { /// OS convention (e.g. XDG on Linux) OsConvention,