mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make clippy happy (#13772)
This commit is contained in:
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user