We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DeferredWorld::trigger
1 parent 8ac90ac commit cf21d9aCopy full SHA for cf21d9a
crates/bevy_ecs/src/world/deferred_world.rs
@@ -562,7 +562,7 @@ impl<'w> DeferredWorld<'w> {
562
}
563
564
/// Sends a "global" [`Trigger`](crate::observer::Trigger) without any targets.
565
- pub fn trigger<T: Event>(&mut self, trigger: impl Event) {
+ pub fn trigger(&mut self, trigger: impl Event) {
566
self.commands().trigger(trigger);
567
568
0 commit comments