diff --git a/crates/codegen/parser/runtime/src/support/context.rs b/crates/codegen/parser/runtime/src/support/context.rs index dbb77aca17..791c80c0e9 100644 --- a/crates/codegen/parser/runtime/src/support/context.rs +++ b/crates/codegen/parser/runtime/src/support/context.rs @@ -120,14 +120,14 @@ pub(crate) struct DelimiterGuard<'a, 's> { closing_delim: TokenKind, } -impl<'a, 's> Drop for DelimiterGuard<'a, 's> { +impl Drop for DelimiterGuard<'_, '_> { fn drop(&mut self) { let popped = self.input.closing_delimiters.pop(); debug_assert_eq!(popped, Some(self.closing_delim)); } } -impl<'a, 's> DelimiterGuard<'a, 's> { +impl<'s> DelimiterGuard<'_, 's> { pub(crate) fn ctx(&mut self) -> &mut ParserContext<'s> { self.input } diff --git a/crates/solidity/outputs/cargo/crate/src/generated/support/context.rs b/crates/solidity/outputs/cargo/crate/src/generated/support/context.rs index 003815d936..779f73e767 100644 --- a/crates/solidity/outputs/cargo/crate/src/generated/support/context.rs +++ b/crates/solidity/outputs/cargo/crate/src/generated/support/context.rs @@ -122,14 +122,14 @@ pub(crate) struct DelimiterGuard<'a, 's> { closing_delim: TokenKind, } -impl<'a, 's> Drop for DelimiterGuard<'a, 's> { +impl Drop for DelimiterGuard<'_, '_> { fn drop(&mut self) { let popped = self.input.closing_delimiters.pop(); debug_assert_eq!(popped, Some(self.closing_delim)); } } -impl<'a, 's> DelimiterGuard<'a, 's> { +impl<'s> DelimiterGuard<'_, 's> { pub(crate) fn ctx(&mut self) -> &mut ParserContext<'s> { self.input } diff --git a/crates/solidity/outputs/npm/crate/src/generated/support/context.rs b/crates/solidity/outputs/npm/crate/src/generated/support/context.rs index 003815d936..779f73e767 100644 --- a/crates/solidity/outputs/npm/crate/src/generated/support/context.rs +++ b/crates/solidity/outputs/npm/crate/src/generated/support/context.rs @@ -122,14 +122,14 @@ pub(crate) struct DelimiterGuard<'a, 's> { closing_delim: TokenKind, } -impl<'a, 's> Drop for DelimiterGuard<'a, 's> { +impl Drop for DelimiterGuard<'_, '_> { fn drop(&mut self) { let popped = self.input.closing_delimiters.pop(); debug_assert_eq!(popped, Some(self.closing_delim)); } } -impl<'a, 's> DelimiterGuard<'a, 's> { +impl<'s> DelimiterGuard<'_, 's> { pub(crate) fn ctx(&mut self) -> &mut ParserContext<'s> { self.input }