Skip to content

Commit

Permalink
Update src/stream/stream/max_by.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Taiki Endo <[email protected]>
  • Loading branch information
yjhmelody and taiki-e authored Oct 26, 2019
1 parent 37a7ead commit 006fc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/stream/max_by.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand Down

0 comments on commit 006fc7e

Please sign in to comment.