We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5a3e0 commit 507307fCopy full SHA for 507307f
src/stream/stream/mod.rs
@@ -1290,11 +1290,10 @@ extension_trait! {
1290
fn cmp<S>(
1291
self,
1292
other: S
1293
- ) -> impl Future<Output = Ordering> + '_ [CmpFuture<Self, S>]
+ ) -> impl Future<Output = Ordering> [CmpFuture<Self, S>]
1294
where
1295
Self: Sized + Stream,
1296
- S: Stream<Item = Self::Item>,
1297
- Self::Item: Ord,
+ S: Stream,
1298
{
1299
CmpFuture::new(self, other)
1300
}
0 commit comments