Skip to content

Commit 507307f

Browse files
committed
attempts to fix rustdoc issue
1 parent ae5a3e0 commit 507307f

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
@@ -1290,11 +1290,10 @@ extension_trait! {
12901290
fn cmp<S>(
12911291
self,
12921292
other: S
1293-
) -> impl Future<Output = Ordering> + '_ [CmpFuture<Self, S>]
1293+
) -> impl Future<Output = Ordering> [CmpFuture<Self, S>]
12941294
where
12951295
Self: Sized + Stream,
1296-
S: Stream<Item = Self::Item>,
1297-
Self::Item: Ord,
1296+
S: Stream,
12981297
{
12991298
CmpFuture::new(self, other)
13001299
}

0 commit comments

Comments
 (0)