Skip to content

Commit e90c054

Browse files
committed
attempts to fix rustdoc issue
1 parent 05666ce commit e90c054

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/stream/stream/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1180,11 +1180,10 @@ extension_trait! {
11801180
fn cmp<S>(
11811181
self,
11821182
other: S
1183-
) -> impl Future<Output = Ordering> + '_ [CmpFuture<Self, S>]
1183+
) -> impl Future<Output = Ordering> [CmpFuture<Self, S>]
11841184
where
11851185
Self: Sized + Stream,
1186-
S: Stream<Item = Self::Item>,
1187-
Self::Item: Ord,
1186+
S: Stream,
11881187
{
11891188
CmpFuture::new(self, other)
11901189
}

0 commit comments

Comments
 (0)