Skip to content

Commit 88ad6fe

Browse files
committed
Adds proper trait bounds for cmp
1 parent 5bf0596 commit 88ad6fe

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
@@ -1184,6 +1184,7 @@ extension_trait! {
11841184
where
11851185
Self: Sized + Stream,
11861186
S: Stream,
1187+
<Self as Stream>::Item: Ord
11871188
{
11881189
CmpFuture::new(self, other)
11891190
}

0 commit comments

Comments
 (0)