go_parser/map.rs
1#[cfg(feature = "btree_map")]
2pub type Map<K, V> = std::collections::BTreeMap<K, V>;
3#[cfg(not(feature = "btree_map"))]
4pub type Map<K, V> = std::collections::HashMap<K, V>;
5
6#[cfg(feature = "btree_map")]
7pub type MapIter<'a, K, V> = std::collections::btree_map::Iter<'a, K, V>;
8#[cfg(not(feature = "btree_map"))]
9pub type MapIter<'a, K, V> = std::collections::hash_map::Iter<'a, K, V>;