Skip to content

Commit 006fc7e

Browse files
yjhmelodytaiki-e
andauthored
Update src/stream/stream/max_by.rs
Co-Authored-By: Taiki Endo <[email protected]>
1 parent 37a7ead commit 006fc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/max_by.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl<S, F, T> MaxByFuture<S, F, T> {
3030

3131
impl<S, F> Future for MaxByFuture<S, F, S::Item>
3232
where
33-
S: Stream + Unpin + Sized,
33+
S: Stream,
3434
S::Item: Copy,
3535
F: FnMut(&S::Item, &S::Item) -> Ordering,
3636
{

0 commit comments

Comments
 (0)