From 019ed133569825531b456bd594d85afe6854a232 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 27 Jun 2025 20:36:56 +0200 Subject: Apply clippy --- src/configuration.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/configuration.rs') diff --git a/src/configuration.rs b/src/configuration.rs index 24beceb..742dd45 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -90,8 +90,7 @@ impl Configuration { Err(_) => match env::var("HOME") { Ok(directory) => PathBuf::from(directory).join(CONFIG_FALLBACK_LOCATION), Err(_) => panic!( - "Could not find required directory, {} or {} should be set and readable.", - CONFIG_ENV_VARIABLE, CONFIG_DEFAULT_LOCATION + "Could not find required directory, {CONFIG_ENV_VARIABLE} or {CONFIG_DEFAULT_LOCATION} should be set and readable." ), }, }, -- cgit