fix: use correct trait bound in WithObservers Executor (#1633)

This commit is contained in:
Anne Borcherding 2023-10-20 16:32:40 +02:00 committed by GitHub
parent 0db67dfc9a
commit c9403cbd00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ where
impl<E, OT> HasObservers for WithObservers<E, OT> impl<E, OT> HasObservers for WithObservers<E, OT>
where where
E: HasObservers + Debug, E: UsesState + Debug,
OT: ObserversTuple<E::State> + Debug, OT: ObserversTuple<E::State> + Debug,
{ {
fn observers(&self) -> &OT { fn observers(&self) -> &OT {