Skip to content

Commit

Permalink
Merge pull request #200 from crepererum/crepererum/fix_nightly_clippy
Browse files Browse the repository at this point in the history
fix: nightly `clippy::needless_lifetimes` warnings
  • Loading branch information
matheus-consoli authored Nov 13, 2024
2 parents 30beb59 + 50b57b6 commit 591c7ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/concurrent_stream/from_concurrent_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl<'a, Fut: Future> VecConsumer<'a, Fut> {
}
}

impl<'a, Item, Fut> Consumer<Item, Fut> for VecConsumer<'a, Fut>
impl<Item, Fut> Consumer<Item, Fut> for VecConsumer<'_, Fut>
where
Fut: Future<Output = Item>,
{
Expand Down Expand Up @@ -101,7 +101,7 @@ impl<'a, Fut: Future, T, E> ResultVecConsumer<'a, Fut, T, E> {
}
}

impl<'a, Fut, T, E> Consumer<Result<T, E>, Fut> for ResultVecConsumer<'a, Fut, T, E>
impl<Fut, T, E> Consumer<Result<T, E>, Fut> for ResultVecConsumer<'_, Fut, T, E>
where
Fut: Future<Output = Result<T, E>>,
{
Expand Down

0 comments on commit 591c7ab

Please sign in to comment.