From 224a2fc3cea4b638a9699ea28fefb000a39d1314 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 05:19:42 +0100 Subject: unify UNSET constant --- src/config/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/config/mod.rs') 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") -- cgit v1.3.1