Skip to content

Commit

Permalink
Derive debug for ManualEventIterator (bevyengine#9293)
Browse files Browse the repository at this point in the history
# Objective
Fixes bevyengine#9284 by deriving Debug on ManualEventIterator
  • Loading branch information
FlippinBerger authored Jul 30, 2023
1 parent 370eed0 commit e02938f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ impl<E: Event> ManualEventReader<E> {
}

/// An iterator that yields any unread events from an [`EventReader`] or [`ManualEventReader`].
#[derive(Debug)]
pub struct ManualEventIterator<'a, E: Event> {
iter: ManualEventIteratorWithId<'a, E>,
}
Expand Down

0 comments on commit e02938f

Please sign in to comment.