Just format the code
This commit is contained in:
parent
8e708796dd
commit
a5b2a65d33
1 changed files with 6 additions and 3 deletions
|
@ -253,7 +253,7 @@ pub struct Settings {
|
||||||
status_notification_timeout: Option<u8>,
|
status_notification_timeout: Option<u8>,
|
||||||
#[cfg(feature = "docs")]
|
#[cfg(feature = "docs")]
|
||||||
#[arg(long, hide = true)]
|
#[arg(long, hide = true)]
|
||||||
markdown_help: bool
|
markdown_help: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for Settings {
|
impl Default for Settings {
|
||||||
|
@ -306,7 +306,7 @@ impl Default for Settings {
|
||||||
),
|
),
|
||||||
status_notification_timeout: Some(DEFAULT_STATUS_CHANGE_NOTIFICATION_TIMEOUT),
|
status_notification_timeout: Some(DEFAULT_STATUS_CHANGE_NOTIFICATION_TIMEOUT),
|
||||||
#[cfg(feature = "docs")]
|
#[cfg(feature = "docs")]
|
||||||
markdown_help: false
|
markdown_help: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -336,7 +336,10 @@ impl Settings {
|
||||||
#[cfg(feature = "debug")]
|
#[cfg(feature = "debug")]
|
||||||
{
|
{
|
||||||
info!("Loading config...");
|
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
|
// load config file
|
||||||
let mut cfg: Self = match confy::load("cmus-notify", "config") {
|
let mut cfg: Self = match confy::load("cmus-notify", "config") {
|
||||||
|
|
Loading…
Reference in a new issue