Skip to content

Commit d6ffdbc

Browse files
committed
Remove Unpin bound in impl Stream for T
1 parent a4d42e7 commit d6ffdbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ pub trait Stream {
547547
}
548548
}
549549

550-
impl<T: futures_core::stream::Stream + Unpin + ?Sized> Stream for T {
550+
impl<T: futures_core::stream::Stream + ?Sized> Stream for T {
551551
type Item = <Self as futures_core::stream::Stream>::Item;
552552

553553
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {

0 commit comments

Comments
 (0)