cargo clippy --fix

This commit is contained in:
Niklas Mohrin 2022-08-21 21:53:10 +02:00
commit e94ee92db4
No known key found for this signature in database
GPG key ID: 0ACD89A5C1DEB3EB
2 changed files with 4 additions and 4 deletions

View file

@ -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<PathBuf>,
}

View file

@ -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,