From b115208aadb54ee6ed8f534f7b4d99c589916b0f Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Mon, 31 Aug 2026 10:34:02 +0200 Subject: [PATCH] fix clippy lint --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 4a5e917..f876b6d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -518,7 +518,7 @@ impl Config { } pub fn read_from_disk(&mut self) -> Result { - log::info!("reading config from {:?}", &self.config_path); + log::info!("reading config from {:?}", self.config_path); let current_config = fs::read_to_string(&self.config_path)?; let current_config = match current_config.parse::() { @@ -548,7 +548,7 @@ impl Config { } pub fn write_back(&mut self) -> Result<(), io::Error> { - log::info!("writing config to {:?}", &self.config_path); + log::info!("writing config to {:?}", self.config_path); /* the new config */ let new_config = self.config_toml.clone().unwrap_or_default(); let new_config = toml_edit::ser::to_string_pretty(&new_config).expect("config");