chore: fix some clippy lints (#3720)

This commit is contained in:
Nylonicious
2021-04-22 13:33:42 +02:00
committed by GitHub
parent 2b9b558108
commit 1e2f893da2
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ impl BlockingPool {
self.spawner.inner.condvar.notify_all();
let last_exited_thread = std::mem::take(&mut shared.last_exiting_thread);
let workers = std::mem::replace(&mut shared.worker_threads, HashMap::new());
let workers = std::mem::take(&mut shared.worker_threads);
drop(shared);