From 50b57b692b47351390057ab30f3b9d01acedb19b Mon Sep 17 00:00:00 2001 From: Marco Neumann Date: Tue, 12 Nov 2024 10:11:41 +0100 Subject: [PATCH] fix: nightly `clippy::needless_lifetimes` warnings --- src/concurrent_stream/from_concurrent_stream.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/concurrent_stream/from_concurrent_stream.rs b/src/concurrent_stream/from_concurrent_stream.rs index 7fd1db3..b376320 100644 --- a/src/concurrent_stream/from_concurrent_stream.rs +++ b/src/concurrent_stream/from_concurrent_stream.rs @@ -57,7 +57,7 @@ impl<'a, Fut: Future> VecConsumer<'a, Fut> { } } -impl<'a, Item, Fut> Consumer for VecConsumer<'a, Fut> +impl Consumer for VecConsumer<'_, Fut> where Fut: Future, { @@ -101,7 +101,7 @@ impl<'a, Fut: Future, T, E> ResultVecConsumer<'a, Fut, T, E> { } } -impl<'a, Fut, T, E> Consumer, Fut> for ResultVecConsumer<'a, Fut, T, E> +impl Consumer, Fut> for ResultVecConsumer<'_, Fut, T, E> where Fut: Future>, {