We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9a6b39 commit f5451c2Copy full SHA for f5451c2
src/stream/stream/mod.rs
@@ -758,10 +758,10 @@ pub trait Stream {
758
}
759
760
761
-// impl<T: futures_core::stream::Stream + ?Sized> Stream for T {
762
-// type Item = <Self as futures_core::stream::Stream>::Item;
+impl<T: futures_core::stream::Stream + ?Sized> Stream for T {
+ type Item = <Self as futures_core::stream::Stream>::Item;
763
764
-// fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
765
-// futures_core::stream::Stream::poll_next(self, cx)
766
-// }
767
+ fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
+ futures_core::stream::Stream::poll_next(self, cx)
+ }
+}
0 commit comments