mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-10 02:16:42 +00:00
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>
|
||||
where
|
||||
S: Stream + Unpin + Sized,
|
||||
S: Stream,
|
||||
K: FnMut(&S::Item) -> S::Item,
|
||||
S::Item: Ord + Copy,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue