Remove unused generic in DeferredWorld::trigger
(#16911)
Fixing what I just noticed. ## Migration Guide - Remove the generic parameter when calling this method
This commit is contained in:
parent
8ac90ac542
commit
cf21d9a37e
@ -562,7 +562,7 @@ impl<'w> DeferredWorld<'w> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Sends a "global" [`Trigger`](crate::observer::Trigger) without any targets.
|
/// 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);
|
self.commands().trigger(trigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user