Improve legibility of RunOnce::run_unsafe param (#2181)

During PR #2046 @cart suggested that the `(): ()` notation is less legible than `_input: ()`. The first notation still managed to slip in though. This PR applies the second writing.
This commit is contained in:
Federico Rinaldi 2021-05-18 00:10:17 +00:00
parent a81fb7aa7e
commit 1f0988be87

View file

@ -406,7 +406,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 {