Update src/stream/stream/max_by.rs

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

@ -30,7 +30,7 @@ impl<S, F, T> MaxByFuture<S, F, T> {
impl<S, F> Future for MaxByFuture<S, F, S::Item> impl<S, F> Future for MaxByFuture<S, F, S::Item>
where where
S: Stream + Unpin + Sized, S: Stream,
S::Item: Copy, S::Item: Copy,
F: FnMut(&S::Item, &S::Item) -> Ordering, F: FnMut(&S::Item, &S::Item) -> Ordering,
{ {

Loading…
Cancel
Save