From 020be31e5665117ba35109393f0eb7d4f1affd95 Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo@trentesaux.fr> Date: Thu, 8 Jun 2023 13:29:18 +0200 Subject: [PATCH] clippy --- src/conf.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conf.rs b/src/conf.rs index da063b1..5b7976b 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -41,8 +41,7 @@ pub fn load_conf() -> Config { log::error!("{:?}", e); log::info!("using default config instead"); log::info!("call `config save` to overwrite"); - let cfg = Config::default(); - cfg + Config::default() } } } -- GitLab