mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
chore: fix some clippy lints (#3720)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user