collect-once-hashmap
This crate provides a type CollectOnceHashMap that can be collected from an
iterator just like a normal std::collections::HashMap, but it makes sure that
a duplicated key results in an error.
Example:
# use ;
let hm = vec!
.into_iter
.
.into_inner;
assert!;
assert!;
License
MPL-2.0 (c) Matthias Beyer