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