We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcad5c2 commit cd747f9Copy full SHA for cd747f9
gix-pack/src/cache/delta/traverse/resolve.rs
@@ -357,7 +357,10 @@ where
357
// but may instead find a good way to set the polling interval instead of hard-coding it.
358
std::thread::sleep(poll_interval);
359
// Get out of threads are already starving or they would be starving soon as no work is left.
360
- if threads.iter().any(std::thread::ScopedJoinHandle::is_finished) {
+ //
361
+ // Lint: ScopedJoinHandle is not the same depending on active features and is not exposed in some cases.
362
+ #[allow(clippy::redundant_closure_for_method_calls)]
363
+ if threads.iter().any(|t| t.is_finished()) {
364
let mut running_threads = Vec::new();
365
for thread in threads.drain(..) {
366
if thread.is_finished() {
0 commit comments