Skip to content

Commit 579efd0

Browse files
committed
removes new methods unrelated to branch
1 parent ec393b6 commit 579efd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/stream/stream/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,15 +1064,15 @@ extension_trait! {
10641064
fn partial_cmp<S>(
10651065
self,
10661066
other: S
1067-
) -> impl Future<Output = Option<Ordering>> + '_ [PartialCmpFuture<Self, S>]
1067+
) -> impl Future<Output = Option<Ordering>> [PartialCmpFuture<Self, S>]
10681068
where
10691069
Self: Sized + Stream,
1070-
S: Stream,
1071-
Self::Item: PartialOrd<S::Item>,
1070+
S: Stream,
1071+
<Self as Stream>::Item: PartialOrd<S::Item>,
10721072
{
10731073
PartialCmpFuture::new(self, other)
10741074
}
1075-
1075+
10761076
}
10771077

10781078
impl<S: Stream + Unpin + ?Sized> Stream for Box<S> {

0 commit comments

Comments
 (0)