diff options
author | David Orchard <if_coding@fastmail.com> | 2021-08-01 00:11:40 -0700 |
---|---|---|
committer | David Orchard <if_coding@fastmail.com> | 2021-08-15 10:32:07 -0700 |
commit | ea62693f6fff0dd24865b934334260d06f190e01 (patch) | |
tree | 7a071eea0dcb2630bd8ca018fdffca350e8adeac /src | |
parent | cc0530a7716779f954b1756905a9f4ceb7eb6d62 (diff) |
Switch from LinkedHashMap to IndexMap
Diffstat (limited to 'src')
-rw-r--r-- | src/builder.rs | 1 | ||||
-rw-r--r-- | src/map.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/builder.rs b/src/builder.rs index 5100f5f..0cbd32a 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -1,7 +1,6 @@ use std::iter::IntoIterator; use std::str::FromStr; - use crate::error::Result; use crate::map::MapImpl; use crate::source::AsyncSource; @@ -1,4 +1,4 @@ #[cfg(not(feature = "preserve_order"))] pub type MapImpl<K, V> = std::collections::HashMap<K, V>; #[cfg(feature = "preserve_order")] -pub type MapImpl<K, V> = linked_hash_map::LinkedHashMap<K, V>; +pub type MapImpl<K, V> = indexmap::IndexMap<K, V>; |