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:
urben1680 2024-12-21 05:15:22 +01:00 committed by GitHub
parent 8ac90ac542
commit cf21d9a37e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}