Skip to content

Commit

Permalink
Remove unused generic in DeferredWorld::trigger (#16911)
Browse files Browse the repository at this point in the history
Fixing what I just noticed.

## Migration Guide

- Remove the generic parameter when calling this method
  • Loading branch information
urben1680 authored Dec 21, 2024
1 parent 8ac90ac commit cf21d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/world/deferred_world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ impl<'w> DeferredWorld<'w> {
}

/// Sends a "global" [`Trigger`](crate::observer::Trigger) without any targets.
pub fn trigger<T: Event>(&mut self, trigger: impl Event) {
pub fn trigger(&mut self, trigger: impl Event) {
self.commands().trigger(trigger);
}

Expand Down

0 comments on commit cf21d9a

Please sign in to comment.