mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add elided lifetime to impl Iterator (#14481)
This commit is contained in:
@ -295,7 +295,7 @@ impl<B: Block> RecoveredBlock<B> {
|
|||||||
#[inline]
|
#[inline]
|
||||||
pub fn transactions_recovered(
|
pub fn transactions_recovered(
|
||||||
&self,
|
&self,
|
||||||
) -> impl Iterator<Item = Recovered<&'_ <B::Body as BlockBody>::Transaction>> {
|
) -> impl Iterator<Item = Recovered<&'_ <B::Body as BlockBody>::Transaction>> + '_ {
|
||||||
self.transactions_with_sender().map(|(sender, tx)| Recovered::new_unchecked(tx, *sender))
|
self.transactions_with_sender().map(|(sender, tx)| Recovered::new_unchecked(tx, *sender))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user