Update src/stream/stream/min_by_key.rs

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

@ -32,7 +32,7 @@ impl<S, K> Future for MinByKeyFuture<S, S::Item, K>
where where
S: Stream, S: Stream,
K: FnMut(&S::Item) -> S::Item, K: FnMut(&S::Item) -> S::Item,
S::Item: Ord + Copy, S::Item: Ord,
{ {
type Output = Option<S::Item>; type Output = Option<S::Item>;

Loading…
Cancel
Save