summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 03d2453..fa43e2a 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -134,6 +134,7 @@ impl Config {
self.refresh()
}
+ /// Set the configuration defaults by serializing them from given value.
pub fn set_defaults<T>(&mut self, value: &T) -> Result<&mut Config>
where
T: Serialize,