Skip to content

Typo in migration guide: EntityHashSet -> HashSet #18841

Open
@guyguy2001

Description

@guyguy2001

In the 0.15->0.16 migration guide, it says to use the following code:
(https://bevyengine.org/learn/migration-guides/0-15-to-0-16/#don-t-re-export-entityhashset-and-entityhashmap)

use bevy::ecs::entity::{hash_set::HashSet, hash_map::HashMap};

However, I get an error using it:

Image

After finding https://bevyengine.org/learn/migration-guides/0-15-to-0-16/#bevy-utils-refactor, I now realize that the section in the docs I linked to was meant for EntityHashSet, and not HashSet, which threw me for a loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-DocsAn addition or correction to our documentationS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions