Open
Description
I have reverted back to clear_events_on_exit_state, but unlike with 4 it requires specifying the event type each time.
Quick question: if you use an impl Trait
argument, rather than a generic, can we get type inference working properly for these methods?
Originally posted by @alice-i-cecile in #19435 (comment)
Metadata
Metadata
Assignees
Labels
App-level states machinesA targeted quality-of-life change that makes Bevy easier to useCan be tackled by anyone with generic programming or Rust skillsSimple bug fixes and API improvements, docs, test and examplesThis issue is ready for an implementation PR. Go for it!This work is generally agreed upon