diff options
Diffstat (limited to 'tokio-executor/src')
-rw-r--r-- | tokio-executor/src/global.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-executor/src/global.rs b/tokio-executor/src/global.rs index f95a1486..bf4d9be3 100644 --- a/tokio-executor/src/global.rs +++ b/tokio-executor/src/global.rs @@ -153,7 +153,7 @@ where // when leaving the scope. This handles cases that involve panicking. struct Reset<'a>(&'a Cell<State>, State); - impl<'a> Drop for Reset<'a> { + impl Drop for Reset<'_> { fn drop(&mut self) { self.0.set(self.1); } |