Update src/stream/stream/min_by_key.rs

Co-Authored-By: Taiki Endo <te316e89@gmail.com>
yoshuawuyts-patch-1
yjh 5 years ago committed by GitHub
parent c9e6d3a84c
commit 5a4fdeb1cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save