From cf21d9a37ee2aa9c312ccb1560640299e6a58d60 Mon Sep 17 00:00:00 2001 From: urben1680 <55257931+urben1680@users.noreply.github.com> Date: Sat, 21 Dec 2024 05:15:22 +0100 Subject: [PATCH] Remove unused generic in `DeferredWorld::trigger` (#16911) Fixing what I just noticed. ## Migration Guide - Remove the generic parameter when calling this method --- crates/bevy_ecs/src/world/deferred_world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/world/deferred_world.rs b/crates/bevy_ecs/src/world/deferred_world.rs index c66bcc53c869a..ef83d49270b0a 100644 --- a/crates/bevy_ecs/src/world/deferred_world.rs +++ b/crates/bevy_ecs/src/world/deferred_world.rs @@ -562,7 +562,7 @@ impl<'w> DeferredWorld<'w> { } /// Sends a "global" [`Trigger`](crate::observer::Trigger) without any targets. - pub fn trigger(&mut self, trigger: impl Event) { + pub fn trigger(&mut self, trigger: impl Event) { self.commands().trigger(trigger); }