![]() # Objective - `EntityHashMap`, `EntityHashSet` and `PreHashMap` are currently not Cloneable because of a missing trivial `Clone` bound for `EntityHash` and `PreHash`. This PR makes them Cloneable. (the parent struct `hashbrown::HashMap` requires the `HashBuilder` to be `Clone` for the `HashMap` to be `Clone`, see: https://github.com/rust-lang/hashbrown/blob/master/src/map.rs#L195) ## Solution - Add a `Clone` bound to `PreHash` and `EntityHash` --------- Co-authored-by: Charles Bournhonesque <cbournhonesque@snapchat.com> |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml | ||
Readme.md |