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 729d3d2 commit 62512d5
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 @@ -1162,7 +1162,7 @@ impl World {
self.resource_mut::<crate::event::Events<E>>().send(event);
}

/// Sends the default value of the event.
/// Sends the default value of the [event](crate::event).
#[inline]
pub fn event_send_default<E: crate::event::Event + Default>(&mut self) {
self.resource_mut::<crate::event::Events<E>>()
Expand Down

0 comments on commit 62512d5

Please sign in to comment.