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 ded4137 commit 1fd8205Copy full SHA for 1fd8205
src/stream/stream/mod.rs
@@ -1104,11 +1104,11 @@ extension_trait! {
1104
fn partial_cmp<S>(
1105
self,
1106
other: S
1107
- ) -> impl Future<Output = Option<Ordering>> + '_ [PartialCmpFuture<Self, S>]
+ ) -> impl Future<Output = Option<Ordering>> [PartialCmpFuture<Self, S>]
1108
where
1109
Self: Sized + Stream,
1110
- S: Stream,
1111
- Self::Item: PartialOrd<S::Item>,
+ S: Stream,
+ <Self as Stream>::Item: PartialOrd<S::Item>,
1112
{
1113
PartialCmpFuture::new(self, other)
1114
}
0 commit comments