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 05666ce commit e90c054Copy full SHA for e90c054
src/stream/stream/mod.rs
@@ -1180,11 +1180,10 @@ extension_trait! {
1180
fn cmp<S>(
1181
self,
1182
other: S
1183
- ) -> impl Future<Output = Ordering> + '_ [CmpFuture<Self, S>]
+ ) -> impl Future<Output = Ordering> [CmpFuture<Self, S>]
1184
where
1185
Self: Sized + Stream,
1186
- S: Stream<Item = Self::Item>,
1187
- Self::Item: Ord,
+ S: Stream,
1188
{
1189
CmpFuture::new(self, other)
1190
}
0 commit comments