diff options
author | Dan Aloni <dan@kernelim.com> | 2022-09-29 15:58:38 +0300 |
---|---|---|
committer | Dan Aloni <dan@kernelim.com> | 2022-09-29 15:58:38 +0300 |
commit | e3167a16910fdf65aa903e7689e84011de6563e3 (patch) | |
tree | 3388d34e3fcee77cfdfe75e2f052c73aab6a2d35 | |
parent | 8677511677e143954a4479668316d644e4737ead (diff) |
Environment: add a rustdoc comment
-rw-r--r-- | src/env.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5,6 +5,10 @@ use crate::map::Map; use crate::source::Source; use crate::value::{Value, ValueKind}; +/// An environment source collects a dictionary of environment variables values into a hierarchical +/// config Value type. We have to be aware how the config tree is created from the environment +/// dictionary, therefore we are mindful about prefixes for the environment keys, level separators, +/// encoding form (kebab, snake case) etc. #[must_use] #[derive(Clone, Debug, Default)] pub struct Environment { |