Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Nov 3, 2021
1 parent 5cbd0e7 commit 5ccfd7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl Config {
}

let mut config = Self {
icon_theme: merged.design.icon_theme.unwrap_or_else(Theme::default),
icon_theme: merged.design.icon_theme.unwrap_or_default(),
};

if let Some(icon_theme) = &args.icon_theme {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn main() -> Result<()> {
} else if args.debug_inotify {
notify::debug_inotify()
} else if let Some(icon) = &args.debug_icon {
gui::debug_icon(&config, &icon)
gui::debug_icon(&config, icon)
} else {
gui::main(&config)
}
Expand Down

0 comments on commit 5ccfd7d

Please sign in to comment.