chore: make clippy happy (#13772)

This commit is contained in:
Federico Gimenez
2025-01-11 12:15:06 +01:00
committed by GitHub
parent ca30702f85
commit 5a23708eb0
19 changed files with 26 additions and 37 deletions

View File

@ -297,7 +297,7 @@ impl DebugTraceTransactionsStream<'_> {
pub async fn next_err(&mut self) -> Option<(RpcError, TxHash)> {
loop {
match self.next().await? {
Ok(_) => continue,
Ok(_) => {}
Err(err) => return Some(err),
}
}
@ -329,7 +329,7 @@ impl DebugTraceBlockStream<'_> {
pub async fn next_err(&mut self) -> Option<(RpcError, BlockId)> {
loop {
match self.next().await? {
Ok(_) => continue,
Ok(_) => {}
Err(err) => return Some(err),
}
}

View File

@ -421,7 +421,7 @@ impl TraceBlockStream<'_> {
pub async fn next_err(&mut self) -> Option<(RpcError, BlockId)> {
loop {
match self.next().await? {
Ok(_) => continue,
Ok(_) => {}
Err(err) => return Some(err),
}
}
@ -453,7 +453,7 @@ impl TraceBlockOpcodeGasStream<'_> {
pub async fn next_err(&mut self) -> Option<(RpcError, BlockId)> {
loop {
match self.next().await? {
Ok(_) => continue,
Ok(_) => {}
Err(err) => return Some(err),
}
}