@@ -139,9 +139,7 @@ impl<'a, Ext, Db: Database + DatabaseCommit, TrevmState> Trevm<'a, Ext, Db, Trev
139139 }
140140}
141141
142- impl < ' a , Ext , Db : Database + DatabaseCommit + DatabaseRef , TrevmState >
143- Trevm < ' a , Ext , Db , TrevmState >
144- {
142+ impl < Ext , Db : Database + DatabaseCommit + DatabaseRef , TrevmState > Trevm < ' _ , Ext , Db , TrevmState > {
145143 /// Get the current account info for a specific address.
146144 pub fn try_read_account_ref (
147145 & self ,
@@ -189,8 +187,8 @@ impl<'a, Ext, Db: Database + DatabaseCommit + DatabaseRef, TrevmState>
189187 }
190188}
191189
192- impl < ' a , Ext , Db : Database < Error = Infallible > + DatabaseCommit , TrevmState >
193- Trevm < ' a , Ext , Db , TrevmState >
190+ impl < Ext , Db : Database < Error = Infallible > + DatabaseCommit , TrevmState >
191+ Trevm < ' _ , Ext , Db , TrevmState >
194192{
195193 /// Get the current account info for a specific address.
196194 ///
@@ -230,11 +228,10 @@ impl<'a, Ext, Db: Database<Error = Infallible> + DatabaseCommit, TrevmState>
230228}
231229
232230impl <
233- ' a ,
234231 Ext ,
235232 Db : Database < Error = Infallible > + DatabaseRef < Error = Infallible > + DatabaseCommit ,
236233 TrevmState ,
237- > Trevm < ' a , Ext , Db , TrevmState >
234+ > Trevm < ' _ , Ext , Db , TrevmState >
238235{
239236 /// Get the current account info for a specific address.
240237 ///
@@ -269,7 +266,7 @@ impl<
269266 }
270267}
271268
272- impl < ' a , Ext , Db : Database + DatabaseCommit , TrevmState > Trevm < ' a , Ext , Db , TrevmState > {
269+ impl < Ext , Db : Database + DatabaseCommit , TrevmState > Trevm < ' _ , Ext , Db , TrevmState > {
273270 /// Commit a set of state changes to the database. This is a low-level API,
274271 /// and is not intended for general use. Prefer executing a transaction.
275272 pub fn commit_unchecked ( & mut self , state : EvmState ) {
@@ -371,8 +368,8 @@ impl<'a, Ext, Db: Database + DatabaseCommit, TrevmState> Trevm<'a, Ext, Db, Trev
371368 }
372369}
373370
374- impl < ' a , Ext , Db : Database < Error = Infallible > + DatabaseCommit , TrevmState >
375- Trevm < ' a , Ext , Db , TrevmState >
371+ impl < Ext , Db : Database < Error = Infallible > + DatabaseCommit , TrevmState >
372+ Trevm < ' _ , Ext , Db , TrevmState >
376373{
377374 /// Modify an account with a closure and commit the modified account. This
378375 /// is a low-level API, and is not intended for general use.
@@ -445,7 +442,7 @@ impl<'a, Ext, Db: Database<Error = Infallible> + DatabaseCommit, TrevmState>
445442
446443// --- ALL STATES, WITH STATE<DB>
447444
448- impl < ' a , Ext , Db : Database + DatabaseCommit , TrevmState > Trevm < ' a , Ext , State < Db > , TrevmState > {
445+ impl < Ext , Db : Database + DatabaseCommit , TrevmState > Trevm < ' _ , Ext , State < Db > , TrevmState > {
449446 /// Set the [EIP-161] state clear flag, activated in the Spurious Dragon
450447 /// hardfork.
451448 pub fn set_state_clear_flag ( & mut self , flag : bool ) {
0 commit comments