Skip to content

Commit

Permalink
Update crates/bevy_ecs/src/world/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Rinaldi <gisquerin@gmail.com>
  • Loading branch information
aevyrie and Nilirad authored Jul 17, 2022
1 parent db03697 commit 729d3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/world/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ impl World {
result
}

/// "Sends" an `event`.
/// "Sends" an [event](crate::event).
#[inline]
pub fn event_send<E: crate::event::Event>(&mut self, event: E) {
self.resource_mut::<crate::event::Events<E>>().send(event);
Expand Down

0 comments on commit 729d3d2

Please sign in to comment.