summaryrefslogtreecommitdiffstats
path: root/src/env.rs
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-07-30 13:20:36 -0700
committerRyan Leckey <leckey.ryan@gmail.com>2017-07-30 13:20:36 -0700
commit14224be23dc2f253a240b85214927d97e1160669 (patch)
tree6f5b02b26aef5cf37bb14f32b9048165b67109ce /src/env.rs
parent71f4b182d1e56febda64bd620ae0e0f65de333cd (diff)
Remove ConfigResult; close #36
Diffstat (limited to 'src/env.rs')
-rw-r--r--src/env.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/env.rs b/src/env.rs
index abadea2..aec4de4 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -88,8 +88,10 @@ impl Source for Environment {
// Replace `separator` with `.`
key = key.replace(&self.separator, ".");
- m.insert(key.to_lowercase(),
- Value::new(Some(&uri), ValueKind::String(value)));
+ m.insert(
+ key.to_lowercase(),
+ Value::new(Some(&uri), ValueKind::String(value)),
+ );
}
Ok(m)