Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Oct 5, 2024
1 parent 41a1856 commit e17efb9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,7 @@ pub fn run(args: &Arguments, mut tests: Vec<Trial>) -> Conclusion {
for _ in 0..num_threads {
scope.spawn(|| {
loop {
// Get next test to process from the iterator. We have the
// extra `let` binding as otherwise, the mutex would be
// locked for the whole `if` body.
// Get next test to process from the iterator.
let Some(trial) = iter.lock().unwrap().next() else {
break;
};
Expand Down

0 comments on commit e17efb9

Please sign in to comment.