Skip to content

Commit cc049a0

Browse files
committed
Adds proper trait bounds for cmp
1 parent 42a8a2e commit cc049a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stream/stream/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@ extension_trait! {
12941294
where
12951295
Self: Sized + Stream,
12961296
S: Stream,
1297+
<Self as Stream>::Item: Ord
12971298
{
12981299
CmpFuture::new(self, other)
12991300
}

0 commit comments

Comments
 (0)