bevy/crates/bevy_utils/src
dataphract f4cfcc0e44 explain absence of new constructor in Hash{Map, Set} docs; suggest default (#3077)
# Objective

Fixes #2823.

## Solution

This PR adds notes to the `HashMap` and `HashSet` docs explaining why `HashMap::new()` (resp. `HashSet::new()`) is not available, and guiding the user toward using the `Default` implementation for an empty collection.
2021-11-06 20:53:12 +00:00
..
enum_variant_meta.rs EnumVariantMeta derive (#1972) 2021-04-21 23:46:54 +00:00
lib.rs explain absence of new constructor in Hash{Map, Set} docs; suggest default (#3077) 2021-11-06 20:53:12 +00:00