Skip to content

Commit a8d3d14

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

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/stream/stream/max_by.rs

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ impl<S, F, T> MaxByFuture<S, F, T> {
3131
impl<S, F> Future for MaxByFuture<S, F, S::Item>
3232
where
3333
S: Stream,
34-
S::Item: Copy,
3534
F: FnMut(&S::Item, &S::Item) -> Ordering,
3635
{
3736
type Output = Option<S::Item>;

0 commit comments

Comments
 (0)