mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 23:58:46 -05:00
fix: add lifetime (#14460)
This commit is contained in:
@@ -43,7 +43,7 @@ pub trait BlockBody:
|
||||
fn transactions(&self) -> &[Self::Transaction];
|
||||
|
||||
/// Returns an iterator over the transactions in the block.
|
||||
fn transactions_iter(&self) -> impl Iterator<Item = &Self::Transaction> {
|
||||
fn transactions_iter(&self) -> impl Iterator<Item = &Self::Transaction> + '_ {
|
||||
self.transactions().iter()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user