Skip to content

Commit 07d21e5

Browse files
committed
change trait bounds
1 parent 48c82a9 commit 07d21e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ extension_trait! {
15831583
predicate: P
15841584
) -> impl Future<Output = Option<usize>> [PositionFuture<Self, P>]
15851585
where
1586-
Self: Sized + Stream,
1586+
Self: Sized,
15871587
P: FnMut(&Self::Item) -> bool,
15881588
{
15891589
PositionFuture::new(self, predicate)

0 commit comments

Comments
 (0)