forked from mirror/async-std
Update src/stream/stream/max_by.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
parent
37a7eadf17
commit
006fc7e9de
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl<S, F, T> MaxByFuture<S, F, T> {
|
|||
|
||||
impl<S, F> Future for MaxByFuture<S, F, S::Item>
|
||||
where
|
||||
S: Stream + Unpin + Sized,
|
||||
S: Stream,
|
||||
S::Item: Copy,
|
||||
F: FnMut(&S::Item, &S::Item) -> Ordering,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue