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 838f752 commit bfea84aCopy full SHA for bfea84a
src/stream/stream/mod.rs
@@ -1221,11 +1221,11 @@ extension_trait! {
1221
fn partial_cmp<S>(
1222
self,
1223
other: S
1224
- ) -> impl Future<Output = Option<Ordering>> + '_ [PartialCmpFuture<Self, S>]
+ ) -> impl Future<Output = Option<Ordering>> [PartialCmpFuture<Self, S>]
1225
where
1226
Self: Sized + Stream,
1227
- S: Stream,
1228
- Self::Item: PartialOrd<S::Item>,
+ S: Stream,
+ <Self as Stream>::Item: PartialOrd<S::Item>,
1229
{
1230
PartialCmpFuture::new(self, other)
1231
}
0 commit comments