all: address clippy issues
This commit is contained in:
parent
9c7299234a
commit
036af4abaa
10 changed files with 23 additions and 13 deletions
|
|
@ -86,7 +86,7 @@ impl AsyncEngine {
|
|||
while self.num_queued.get() > 0 {
|
||||
self.iteration.fetch_add(1);
|
||||
let mut phase = 0;
|
||||
while phase < NUM_PHASES as usize {
|
||||
while phase < NUM_PHASES {
|
||||
self.queues[phase].swap(&mut *stash);
|
||||
if stash.is_empty() {
|
||||
phase += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue