mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-07 17:06:41 +00:00
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>
|
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…
Reference in a new issue