summaryrefslogtreecommitdiffstats
path: root/tokio-threadpool/src/worker/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-threadpool/src/worker/mod.rs')
-rw-r--r--tokio-threadpool/src/worker/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-threadpool/src/worker/mod.rs b/tokio-threadpool/src/worker/mod.rs
index 34ce41b9..3bd006bb 100644
--- a/tokio-threadpool/src/worker/mod.rs
+++ b/tokio-threadpool/src/worker/mod.rs
@@ -530,7 +530,7 @@ impl Worker {
worker: &'a Worker,
}
- impl<'a> Drop for Guard<'a> {
+ impl Drop for Guard<'_> {
fn drop(&mut self) {
// A task is allocated at run when it was explicitly notified
// that the task has capacity to block. When this happens, that