summaryrefslogtreecommitdiffstats
path: root/tokio-threadpool/src/task/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-threadpool/src/task/mod.rs')
-rw-r--r--tokio-threadpool/src/task/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-threadpool/src/task/mod.rs b/tokio-threadpool/src/task/mod.rs
index 81bb7c2d..2a225a14 100644
--- a/tokio-threadpool/src/task/mod.rs
+++ b/tokio-threadpool/src/task/mod.rs
@@ -124,7 +124,7 @@ impl Task {
let res = panic::catch_unwind(panic::AssertUnwindSafe(|| {
struct Guard<'a>(&'a mut Option<BoxFuture>, bool);
- impl<'a> Drop for Guard<'a> {
+ impl Drop for Guard<'_> {
fn drop(&mut self) {
// This drops the future
if self.1 {