aboutsummaryrefslogtreecommitdiff
path: root/src/configuration.rs
diff options
context:
space:
mode:
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."
),
},
},