pub fn hash_map<K, V, const N: usize>(xs: [(K, V); N]) -> HashMap<K, V>
where
  K: std::hash::Hash + Eq,
{
  xs.into_iter().collect()
}
/// Returns a hash map of the given items.
Returns a hash map of the given items.
Returns a hash map of the given items .
pub fn hash_map<K, V, const N: usize>(xs: [(K, V); N]) -> HashMap<K, V>
where
  K: std::hash::Hash + Eq,
{
  xs.into_iter().collect()
}
pub fn hash_map < K , V , const N : usize > ( xs : [ ( K , V ) ; N ] ) -> HashMap < K , V > where K : std :: hash :: Hash + Eq , { xs . into_iter ( ) . collect ( ) }
Returns a hash map of the given items.
Returns a hash map of the given items .
xs
[(K, V); N]
xs
[(K, V); N]