Skip to content

Commit

Permalink
Relax In/Out bounds on impl Debug for dyn System (#9581)
Browse files Browse the repository at this point in the history
# Objective

Resolves #9580

## Solution

Relaxed the bounds on the `Debug` impl for `dyn System`
  • Loading branch information
ItsDoot authored Aug 26, 2023
1 parent 365cf31 commit 349dd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
write!(f, "System {}: {{{}}}", self.name(), {
if self.is_send() {
Expand Down

0 comments on commit 349dd8b

Please sign in to comment.