Skip to content

Commit cdac349

Browse files
committed
fixes rustdoc error
1 parent 4d1eb2d commit cdac349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stream/stream/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1181,11 +1181,11 @@ extension_trait! {
11811181
fn partial_cmp<S>(
11821182
self,
11831183
other: S
1184-
) -> impl Future<Output = Option<Ordering>> + '_ [PartialCmpFuture<Self, S>]
1184+
) -> impl Future<Output = Option<Ordering>> [PartialCmpFuture<Self, S>]
11851185
where
11861186
Self: Sized + Stream,
11871187
S: Stream,
1188-
Self::Item: PartialOrd<S::Item>,
1188+
<Self as Stream>::Item: PartialOrd<S::Item>,
11891189
{
11901190
PartialCmpFuture::new(self, other)
11911191
}

0 commit comments

Comments
 (0)