diff options
author | tyranron <tyranron@gmail.com> | 2019-04-08 15:47:37 +0300 |
---|---|---|
committer | tyranron <tyranron@gmail.com> | 2019-04-08 15:47:37 +0300 |
commit | a1eecd00447b66e98bf47b922228a714a3b06782 (patch) | |
tree | 3a35ad844adc09cfd0a10bc5b3099bd1d8187248 | |
parent | 37403d00d2dcd8c5ceca4ab7f40ef704c6df32d8 (diff) |
Add missing doc
-rw-r--r-- | src/config.rs | 1 |
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, |