Browse Source

Fix clippy warning

master
Alex Mikhalev 4 years ago
parent
commit
1d5e05270e
  1. 6
      src/section_runner.rs

6
src/section_runner.rs

@ -196,11 +196,7 @@ impl RunnerTask {
fn process_queue(&mut self, run_queue: &mut VecDeque<SecRun>) { fn process_queue(&mut self, run_queue: &mut VecDeque<SecRun>) {
use RunState::*; use RunState::*;
loop { while let Some(current_run) = run_queue.front_mut() {
let current_run = match run_queue.front_mut() {
Some(current_run) => current_run,
None => break,
};
let run_finished = match (&current_run.state, self.paused) { let run_finished = match (&current_run.state, self.paused) {
(Waiting, false) => { (Waiting, false) => {
self.start_run(current_run); self.start_run(current_run);

Loading…
Cancel
Save