aboutsummaryrefslogtreecommitdiff
path: root/src/configuration.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-06-27 20:36:56 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-06-27 20:36:56 +0200
commit019ed133569825531b456bd594d85afe6854a232 (patch)
treec87d6bf74b57bdacea1ed4de8619eb02bfa87146 /src/configuration.rs
parent72115f805982c7322a0355f4974e0108a3905123 (diff)
Apply clippy
Diffstat (limited to 'src/configuration.rs')
-rw-r--r--src/configuration.rs3
1 files changed, 1 insertions, 2 deletions
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."
),
},
},