diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2017-02-07 17:09:41 -0800 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2017-02-07 17:09:41 -0800 |
commit | 9239ee5c27eb6d87098b10cb8e1f4ea9465d1add (patch) | |
tree | f4a3fb1098a94ca1fc148360ab90434c06400b4f /src/env.rs | |
parent | 115fe07e2c11aa72e91a5ce9b028ed1c1ff7d806 (diff) |
Add path resolution using a strict subset of JSONPath
Diffstat (limited to 'src/env.rs')
-rw-r--r-- | src/env.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,7 +34,9 @@ impl source::Source for Environment { // Make prefix pattern let prefix_pat = if let Some(ref prefix) = self.prefix { Some(prefix.clone() + "_".into()) - } else { None }; + } else { + None + }; for (key, value) in env::vars() { let mut key = key.to_string(); |