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:
parent
006fc7e9de
commit
a8d3d1483f
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue