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:
parent
a81fb7aa7e
commit
1f0988be87
@ -406,7 +406,7 @@ impl System for RunOnce {
|
|||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn run_unsafe(&mut self, (): (), _world: &World) -> ShouldRun {
|
unsafe fn run_unsafe(&mut self, _input: (), _world: &World) -> ShouldRun {
|
||||||
if self.ran {
|
if self.ran {
|
||||||
ShouldRun::No
|
ShouldRun::No
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user