We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a7ead commit 006fc7eCopy full SHA for 006fc7e
src/stream/stream/max_by.rs
@@ -30,7 +30,7 @@ impl<S, F, T> MaxByFuture<S, F, T> {
30
31
impl<S, F> Future for MaxByFuture<S, F, S::Item>
32
where
33
- S: Stream + Unpin + Sized,
+ S: Stream,
34
S::Item: Copy,
35
F: FnMut(&S::Item, &S::Item) -> Ordering,
36
{
0 commit comments