Skip to content

Rename EventReader::iter #9624

Closed
Closed
@alice-i-cecile

Description

          Agreed. I am also in favor of renaming `.iter()` to something clearer like `.read()`. Having a function named `.iter()` that modifies state has always rubbed me the wrong way.

Originally posted by @JoJoJet in #9583 (review)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions