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

Loading…
Cancel
Save