We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a4fdeb commit fb78ed1Copy full SHA for fb78ed1
src/stream/stream/min_by_key.rs
@@ -32,7 +32,7 @@ impl<S, K> Future for MinByKeyFuture<S, S::Item, K>
32
where
33
S: Stream,
34
K: FnMut(&S::Item) -> S::Item,
35
- S::Item: Ord + Copy,
+ S::Item: Ord,
36
{
37
type Output = Option<S::Item>;
38
0 commit comments