Relax In/Out bounds on impl Debug for dyn System (#9581)

# Objective

Resolves #9580

## Solution

Relaxed the bounds on the `Debug` impl for `dyn System`
This commit is contained in:
Christian Hughes 2023-08-26 08:57:19 -05:00 committed by GitHub
parent 365cf3114a
commit 349dd8bd45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,7 +149,7 @@ pub(crate) fn check_system_change_tick(last_run: &mut Tick, this_run: Tick, syst
} }
} }
impl Debug for dyn System<In = (), Out = ()> { impl<In: 'static, Out: 'static> Debug for dyn System<In = In, Out = Out> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "System {}: {{{}}}", self.name(), { write!(f, "System {}: {{{}}}", self.name(), {
if self.is_send() { if self.is_send() {