mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 23:58:46 -05:00
chore: clippy happy (#12248)
This commit is contained in:
@@ -292,7 +292,7 @@ pub struct DebugTraceTransactionsStream<'a> {
|
||||
stream: Pin<Box<dyn Stream<Item = TraceTransactionResult> + 'a>>,
|
||||
}
|
||||
|
||||
impl<'a> DebugTraceTransactionsStream<'a> {
|
||||
impl DebugTraceTransactionsStream<'_> {
|
||||
/// Returns the next error result of the stream.
|
||||
pub async fn next_err(&mut self) -> Option<(RpcError, TxHash)> {
|
||||
loop {
|
||||
@@ -324,7 +324,7 @@ pub struct DebugTraceBlockStream<'a> {
|
||||
stream: Pin<Box<dyn Stream<Item = DebugTraceBlockResult> + 'a>>,
|
||||
}
|
||||
|
||||
impl<'a> DebugTraceBlockStream<'a> {
|
||||
impl DebugTraceBlockStream<'_> {
|
||||
/// Returns the next error result of the stream.
|
||||
pub async fn next_err(&mut self) -> Option<(RpcError, BlockId)> {
|
||||
loop {
|
||||
|
||||
@@ -381,7 +381,7 @@ pub struct TraceBlockStream<'a> {
|
||||
stream: Pin<Box<dyn Stream<Item = TraceBlockResult> + 'a>>,
|
||||
}
|
||||
|
||||
impl<'a> TraceBlockStream<'a> {
|
||||
impl TraceBlockStream<'_> {
|
||||
/// Returns the next error result of the stream.
|
||||
pub async fn next_err(&mut self) -> Option<(RpcError, BlockId)> {
|
||||
loop {
|
||||
|
||||
Reference in New Issue
Block a user