Skip to content

Commit 591c7ab

Browse files
Merge pull request #200 from crepererum/crepererum/fix_nightly_clippy
fix: nightly `clippy::needless_lifetimes` warnings
2 parents 30beb59 + 50b57b6 commit 591c7ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/concurrent_stream/from_concurrent_stream.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl<'a, Fut: Future> VecConsumer<'a, Fut> {
5757
}
5858
}
5959

60-
impl<'a, Item, Fut> Consumer<Item, Fut> for VecConsumer<'a, Fut>
60+
impl<Item, Fut> Consumer<Item, Fut> for VecConsumer<'_, Fut>
6161
where
6262
Fut: Future<Output = Item>,
6363
{
@@ -101,7 +101,7 @@ impl<'a, Fut: Future, T, E> ResultVecConsumer<'a, Fut, T, E> {
101101
}
102102
}
103103

104-
impl<'a, Fut, T, E> Consumer<Result<T, E>, Fut> for ResultVecConsumer<'a, Fut, T, E>
104+
impl<Fut, T, E> Consumer<Result<T, E>, Fut> for ResultVecConsumer<'_, Fut, T, E>
105105
where
106106
Fut: Future<Output = Result<T, E>>,
107107
{

0 commit comments

Comments
 (0)