mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-23 00:24:17 +02:00
cargo clippy --fix
This commit is contained in:
parent
b369678794
commit
e94ee92db4
2 changed files with 4 additions and 4 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue