Skip to content

Implement iterator for entity generation #19144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typos
  • Loading branch information
ElliottjPierce committed May 9, 2025
commit 4aceb9441b6b93fe1634cde89a398fd9f99fc4e7
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/entity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ impl SparseSetIndex for EntityRow {
///
/// This should be treated as a opaque identifier, and it's internal representation may be subject to change.
///
/// Note that ordering doesn not nescesarily represent which generation is earlier than another, as aliasing can prevent this.
/// Ordering should only be used to provide some form of determanism or algorithm.
/// Note that ordering doesn not necessarily represent which generation is earlier than another, as aliasing can prevent this.
/// Ordering should only be used to provide some form of determinism or algorithm.
/// It should not be used to check if a generation is younger than another.
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Display)]
#[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
Expand Down