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 ec393b6 commit 579efd0Copy full SHA for 579efd0
src/stream/stream/mod.rs
@@ -1064,15 +1064,15 @@ extension_trait! {
1064
fn partial_cmp<S>(
1065
self,
1066
other: S
1067
- ) -> impl Future<Output = Option<Ordering>> + '_ [PartialCmpFuture<Self, S>]
+ ) -> impl Future<Output = Option<Ordering>> [PartialCmpFuture<Self, S>]
1068
where
1069
Self: Sized + Stream,
1070
- S: Stream,
1071
- Self::Item: PartialOrd<S::Item>,
+ S: Stream,
+ <Self as Stream>::Item: PartialOrd<S::Item>,
1072
{
1073
PartialCmpFuture::new(self, other)
1074
}
1075
-
+
1076
1077
1078
impl<S: Stream + Unpin + ?Sized> Stream for Box<S> {
0 commit comments