Just format the code

This commit is contained in:
Anas Elgarhy 2023-02-24 02:30:08 +02:00
parent 8e708796dd
commit a5b2a65d33
No known key found for this signature in database
GPG key ID: 0501802A1D496528

View file

@ -253,7 +253,7 @@ pub struct Settings {
status_notification_timeout: Option<u8>,
#[cfg(feature = "docs")]
#[arg(long, hide = true)]
markdown_help: bool
markdown_help: bool,
}
impl Default for Settings {
@ -306,7 +306,7 @@ impl Default for Settings {
),
status_notification_timeout: Some(DEFAULT_STATUS_CHANGE_NOTIFICATION_TIMEOUT),
#[cfg(feature = "docs")]
markdown_help: false
markdown_help: false,
}
}
}
@ -336,7 +336,10 @@ impl Settings {
#[cfg(feature = "debug")]
{
info!("Loading config...");
debug!("Config file path: {:?}", confy::get_configuration_file_path("cmus-notify", "config"));
debug!(
"Config file path: {:?}",
confy::get_configuration_file_path("cmus-notify", "config")
);
}
// load config file
let mut cfg: Self = match confy::load("cmus-notify", "config") {