diff options
Diffstat (limited to 'src/env.rs')
-rw-r--r-- | src/env.rs | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -5,7 +5,7 @@ use crate::map::Map; use crate::source::Source; use crate::value::{Value, ValueKind}; -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Default)] pub struct Environment { /// Optional prefix that will limit access to the environment to only keys that /// begin with the defined prefix. @@ -63,17 +63,6 @@ impl Environment { } } -impl Default for Environment { - fn default() -> Environment { - Environment { - prefix: None, - separator: None, - ignore_empty: false, - try_parsing: false, - } - } -} - impl Source for Environment { fn clone_into_box(&self) -> Box<dyn Source + Send + Sync> { Box::new((*self).clone()) |