From eb92ba8815c2532fd8a67bb76113366a8eca9584 Mon Sep 17 00:00:00 2001 From: fernanlukban Date: Tue, 24 Sep 2024 17:05:33 -0700 Subject: [PATCH] fix observer docs (#15415) # Objective - #15331 ## Solution -Just changed it to Trigger since the function signature shows it's just a wrapper trait ## Testing Will let tests pass --------- Co-authored-by: Fernan Lukban Co-authored-by: Alice Cecile Co-authored-by: Antony --- crates/bevy_ecs/src/system/observer_system.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/bevy_ecs/src/system/observer_system.rs b/crates/bevy_ecs/src/system/observer_system.rs index 7cae84d160..55173ccf4f 100644 --- a/crates/bevy_ecs/src/system/observer_system.rs +++ b/crates/bevy_ecs/src/system/observer_system.rs @@ -5,9 +5,7 @@ use crate::{ use super::IntoSystem; -/// Implemented for systems that have an [`Observer`] as the first argument. -/// -/// [`Observer`]: crate::observer::Observer +/// Implemented for [`System`]s that have a [`Trigger`] as the first argument. pub trait ObserverSystem: System, Out = Out> + Send + 'static {