mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
481fa3c7a0
This matches `ahash::RandomState`, which provides both `Debug` and `Clone`. Notably, implementing `Clone` allows the `StableHashMap`/`Set` to also implement `Clone`. # Objective - Allow `bevy_utils::StableHashMap` to be cloned. ## Solution - Derive `Clone` for `bevy_utils::FixedState`. - Also derive `Debug`, since we're touching it anyway, and this aligns `FixedState` with `ahash::RandomState`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |