summaryrefslogtreecommitdiffstats
path: root/src/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.rs')
-rw-r--r--src/env.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/env.rs b/src/env.rs
index 3d95e17..2e48701 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -1,4 +1,4 @@
-use std::collections::HashMap;
+use linked_hash_map::LinkedHashMap;
use std::env;
use crate::error::*;
@@ -79,8 +79,8 @@ impl Source for Environment {
Box::new((*self).clone())
}
- fn collect(&self) -> Result<HashMap<String, Value>> {
- let mut m = HashMap::new();
+ fn collect(&self) -> Result<LinkedHashMap<String, Value>> {
+ let mut m = LinkedHashMap::new();
let uri: String = "the environment".into();
let separator = self.separator.as_deref().unwrap_or("");