Skip to content

Commit fb78ed1

Browse files
yjhmelodytaiki-e
andauthored
Update src/stream/stream/min_by_key.rs
Co-Authored-By: Taiki Endo <[email protected]>
1 parent 5a4fdeb commit fb78ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/min_by_key.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl<S, K> Future for MinByKeyFuture<S, S::Item, K>
3232
where
3333
S: Stream,
3434
K: FnMut(&S::Item) -> S::Item,
35-
S::Item: Ord + Copy,
35+
S::Item: Ord,
3636
{
3737
type Output = Option<S::Item>;
3838

0 commit comments

Comments
 (0)