summaryrefslogtreecommitdiffstats
path: root/src/source.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-06-26 15:23:33 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-06-26 17:30:45 +0200
commitbbb61a66f755e1907739409d4500009e82064274 (patch)
tree8bdb660a608bd2883456fd2d44df74d937598fe2 /src/source.rs
parentddc41bf5d295402499fffa2f78b75583310b5c0c (diff)
Add doc to fn
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/source.rs')
-rw-r--r--src/source.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/source.rs b/src/source.rs
index bf2ed87..647d948 100644
--- a/src/source.rs
+++ b/src/source.rs
@@ -14,6 +14,7 @@ pub trait Source: Debug {
/// a HashMap.
fn collect(&self) -> Result<HashMap<String, Value>>;
+ /// Collects all configuration properties to a provided cache.
fn collect_to(&self, cache: &mut Value) -> Result<()> {
self.collect()?
.iter()