mirror of
https://github.com/bevyengine/bevy
synced 2024-09-20 14:32:06 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue