Skip to content

Commit

Permalink
lint: clippy :'(
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich committed Dec 2, 2024
1 parent 8a85f86 commit 41ef795
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ impl<'a, Ext, Db: Database + DatabaseCommit, TrevmState: HasBlock> Trevm<'a, Ext

// --- Needs Block with State<Db>

impl< Ext, Db: Database> EvmNeedsBlock<'_, Ext, State<Db>> {
impl<Ext, Db: Database> EvmNeedsBlock<'_, Ext, State<Db>> {
/// Finish execution and return the outputs.
///
/// ## Panics
Expand Down Expand Up @@ -1084,13 +1084,13 @@ impl<'a, Ext, Db: Database + DatabaseCommit> EvmErrored<'a, Ext, Db, EVMError<Db

// --- TRANSACTED

impl<'a, Ext, Db: Database + DatabaseCommit> AsRef<ResultAndState> for EvmTransacted<'a, Ext, Db> {
impl<Ext, Db: Database + DatabaseCommit> AsRef<ResultAndState> for EvmTransacted<'_, Ext, Db> {
fn as_ref(&self) -> &ResultAndState {
&self.state.result
}
}

impl<'a, Ext, Db: Database + DatabaseCommit> AsRef<ExecutionResult> for EvmTransacted<'a, Ext, Db> {
impl<Ext, Db: Database + DatabaseCommit> AsRef<ExecutionResult> for EvmTransacted<'_, Ext, Db> {
fn as_ref(&self) -> &ExecutionResult {
&self.state.result.result
}
Expand Down

0 comments on commit 41ef795

Please sign in to comment.