Skip to content

Commit

Permalink
Rename ei to instance for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-i-cecile committed May 11, 2021
1 parent bb18f07 commit 8f47946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ impl<T: Component> Events<T> {
BufferState::B => self.events_a.drain(..).chain(self.events_b.drain(..)),
};

event_instances.map(|ei| {
event_instances.map(|instance| {
trace!("Events::drain_with_id -> {}", ei.event_id);
(ei.event, ei.event_id)
(instance.event, instance.event_id)
})
}

Expand Down

0 comments on commit 8f47946

Please sign in to comment.