Skip to content

Commit

Permalink
Relax In/Out bounds on impl Debug for dyn System
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDoot committed Aug 26, 2023
1 parent 365cf31 commit debca2d
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 debca2d

Please sign in to comment.