summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index d8d36be..cfd865a 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -139,6 +139,7 @@ impl Config {
Ok(self)
}
+ /// Set a default `value` at `key`
pub fn set_default<T>(&mut self, key: &str, value: T) -> Result<&mut Config>
where
T: Into<Value>,