forked from mirror/async-std
Update src/stream/stream/min_by_key.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
parent
c9e6d3a84c
commit
5a4fdeb1cd
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl<S, T, K> MinByKeyFuture<S, T, K> {
|
||||||
|
|
||||||
impl<S, K> Future for MinByKeyFuture<S, S::Item, K>
|
impl<S, K> Future for MinByKeyFuture<S, S::Item, K>
|
||||||
where
|
where
|
||||||
S: Stream + Unpin + Sized,
|
S: Stream,
|
||||||
K: FnMut(&S::Item) -> S::Item,
|
K: FnMut(&S::Item) -> S::Item,
|
||||||
S::Item: Ord + Copy,
|
S::Item: Ord + Copy,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue