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 4d1eb2d commit cdac349Copy full SHA for cdac349
src/stream/stream/mod.rs
@@ -1181,11 +1181,11 @@ extension_trait! {
1181
fn partial_cmp<S>(
1182
self,
1183
other: S
1184
- ) -> impl Future<Output = Option<Ordering>> + '_ [PartialCmpFuture<Self, S>]
+ ) -> impl Future<Output = Option<Ordering>> [PartialCmpFuture<Self, S>]
1185
where
1186
Self: Sized + Stream,
1187
S: Stream,
1188
- Self::Item: PartialOrd<S::Item>,
+ <Self as Stream>::Item: PartialOrd<S::Item>,
1189
{
1190
PartialCmpFuture::new(self, other)
1191
}
0 commit comments