Fix new 'unnecessary trailing semicolon' warnings

This commit is contained in:
Aaron Hill
2020-11-25 17:00:28 -05:00
parent db0d0e8c43
commit 6f91c32da6
28 changed files with 39 additions and 39 deletions

View File

@@ -265,14 +265,14 @@ where
running_tests.remove(test);
}
timed_out
};
}
fn calc_timeout(running_tests: &TestMap) -> Option<Duration> {
running_tests.values().min().map(|next_timeout| {
let now = Instant::now();
if *next_timeout >= now { *next_timeout - now } else { Duration::new(0, 0) }
})
};
}
if concurrency == 1 {
while !remaining.is_empty() {