diff --git a/src/lib.rs b/src/lib.rs index 2c5305b..28ec802 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -603,7 +603,7 @@ impl<'a> FailScenario<'a> { } } -impl<'a> Drop for FailScenario<'a> { +impl Drop for FailScenario<'_> { fn drop(&mut self) { let mut registry = self.scenario_guard.registry.write().unwrap(); Self::cleanup(&mut registry)