mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
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:
parent
365cf3114a
commit
349dd8bd45
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue