aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 05:19:42 +0100
committertv <tv@krebsco.de>2026-10-31 05:19:42 +0100
commit224a2fc3cea4b638a9699ea28fefb000a39d1314 (patch)
treec899ef9d746339041e3d8cf3339c9c3b679da49e /src/config/mod.rs
parent78adf470aeabb7e5f58932920b38f72daec22501 (diff)
unify UNSET constant
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index d737124..37c3ce6 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -1052,7 +1052,8 @@ fn culprit(merged: &Layer) -> Option<(&String, &Entry)> {
const CONFIG: &str = "config";
const PRINT_CONFIG: &str = "print-config";
-const UNSET: &str = "unset";
+/// Undoing a value set before: the argument `--unset`, and the key `unset` in a file.
+pub(super) const UNSET: &str = "unset";
fn command() -> Command {
let mut command = Command::new("continuum")