forked from mirror/async-std
Remove Unpin bound in impl Stream for T
This commit is contained in:
parent
a4d42e772b
commit
d6ffdbce8d
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ pub trait Stream {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: futures_core::stream::Stream + Unpin + ?Sized> Stream for T {
|
impl<T: futures_core::stream::Stream + ?Sized> Stream for T {
|
||||||
type Item = <Self as futures_core::stream::Stream>::Item;
|
type Item = <Self as futures_core::stream::Stream>::Item;
|
||||||
|
|
||||||
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
|
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
|
||||||
|
|
Loading…
Reference in a new issue