2
0
Fork 1
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:
yjh 2019-10-27 00:18:18 +08:00 committed by GitHub
parent c9e6d3a84c
commit 5a4fdeb1cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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