From a03b61743b767c90a659735cc38641d76108b12b Mon Sep 17 00:00:00 2001 From: Federico Rinaldi Date: Sun, 16 May 2021 14:43:06 +0200 Subject: [PATCH] Improve legibility of RunOnce::run_unsafe param --- crates/bevy_ecs/src/schedule/run_criteria.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/schedule/run_criteria.rs b/crates/bevy_ecs/src/schedule/run_criteria.rs index 9e8b944f460bf..994f391a4c48f 100644 --- a/crates/bevy_ecs/src/schedule/run_criteria.rs +++ b/crates/bevy_ecs/src/schedule/run_criteria.rs @@ -404,7 +404,7 @@ impl System for RunOnce { true } - unsafe fn run_unsafe(&mut self, (): (), _world: &World) -> ShouldRun { + unsafe fn run_unsafe(&mut self, _input: (), _world: &World) -> ShouldRun { if self.ran { ShouldRun::No } else {