2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-10 18:36:43 +00:00

Update src/stream/stream/max_by.rs

Co-Authored-By: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
yjh 2019-10-27 00:17:50 +08:00 committed by GitHub
parent 006fc7e9de
commit a8d3d1483f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>;