chore: clippy happy (#12248)

This commit is contained in:
Matthias Seitz
2024-11-01 11:17:43 +01:00
committed by GitHub
parent 921d1cc4b5
commit 8d31b65242
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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 {