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 006fc7e9de
commit a8d3d1483f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,6 @@ impl<S, F, T> MaxByFuture<S, F, T> {
impl<S, F> Future for MaxByFuture<S, F, S::Item>
where
S: Stream,
S::Item: Copy,
F: FnMut(&S::Item, &S::Item) -> Ordering,
{
type Output = Option<S::Item>;

Loading…
Cancel
Save