Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-pro committed Apr 8, 2024
1 parent 8d86b84 commit 07cef95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub struct BrightnessValues {

impl SsbConfig {
pub fn load(path_override: Option<PathBuf>) -> anyhow::Result<Option<Self>> {
let path = path_override.unwrap_or_else(|| get_default_config_path());
let path = path_override.unwrap_or_else(get_default_config_path);
if !path.exists() {
return Ok(None);
}
Expand Down

0 comments on commit 07cef95

Please sign in to comment.