From a5b2a65d33e22bc6402de7441967064a1ffcafa6 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Fri, 24 Feb 2023 02:30:08 +0200 Subject: [PATCH] Just format the code --- src/settings.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/settings.rs b/src/settings.rs index 0a49dcc..c822598 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -253,7 +253,7 @@ pub struct Settings { status_notification_timeout: Option, #[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") {