Function itertools::group_map::into_group_map
source · pub fn into_group_map<I, K, V>(iter: I) -> HashMap<K, Vec<V>>where
I: Iterator<Item = (K, V)>,
K: Hash + Eq,
Expand description
Return a HashMap
of keys mapped to a list of their corresponding values.
See .into_group_map()
for more information.