mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
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 <fernanlukban@gmail.co> Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: Antony <antony.m.3012@gmail.com>
This commit is contained in:
parent
fcddb54ce5
commit
eb92ba8815
1 changed files with 1 additions and 3 deletions
|
@ -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<E: 'static, B: Bundle, Out = ()>:
|
||||
System<In = Trigger<'static, E, B>, Out = Out> + Send + 'static
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue