chore(lint): fix clippy::needles_lifetimes (#11496)

This commit is contained in:
Emilia Hane
2024-10-05 13:08:08 +02:00
committed by GitHub
parent 28750e5b0e
commit 36de90fdc3
26 changed files with 75 additions and 75 deletions

View File

@@ -304,7 +304,7 @@ impl<'a> DebugTraceTransactionsStream<'a> {
}
}
impl<'a> Stream for DebugTraceTransactionsStream<'a> {
impl Stream for DebugTraceTransactionsStream<'_> {
type Item = TraceTransactionResult;
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
@@ -312,7 +312,7 @@ impl<'a> Stream for DebugTraceTransactionsStream<'a> {
}
}
impl<'a> std::fmt::Debug for DebugTraceTransactionsStream<'a> {
impl std::fmt::Debug for DebugTraceTransactionsStream<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("DebugTraceTransactionsStream").finish_non_exhaustive()
}
@@ -336,7 +336,7 @@ impl<'a> DebugTraceBlockStream<'a> {
}
}
impl<'a> Stream for DebugTraceBlockStream<'a> {
impl Stream for DebugTraceBlockStream<'_> {
type Item = DebugTraceBlockResult;
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
@@ -344,7 +344,7 @@ impl<'a> Stream for DebugTraceBlockStream<'a> {
}
}
impl<'a> std::fmt::Debug for DebugTraceBlockStream<'a> {
impl std::fmt::Debug for DebugTraceBlockStream<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("DebugTraceBlockStream").finish_non_exhaustive()
}