File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 5353 loop {
5454 if let Some ( inner) = this. inner_stream . as_mut ( ) . as_pin_mut ( ) {
5555 match futures_core:: ready!( inner. poll_next( cx) ) {
56- item @ Some ( _) => return Poll :: Ready ( next_item ) ,
56+ item @ Some ( _) => return Poll :: Ready ( item ) ,
5757 None => this. inner_stream . set ( None ) ,
5858 }
5959 }
Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ impl Stream for Interchanger {
154154 }
155155}
156156
157- // https://github.com/async-rs/async-std/pull/701
158157#[ test]
159158fn flat_map_doesnt_poll_completed_inner_stream ( ) {
160159 task:: block_on ( async {
@@ -169,7 +168,6 @@ fn flat_map_doesnt_poll_completed_inner_stream() {
169168 } ) ;
170169}
171170
172- // https://github.com/async-rs/async-std/pull/701
173171#[ test]
174172fn flatten_doesnt_poll_completed_inner_stream ( ) {
175173 task:: block_on ( async {
You can’t perform that action at this time.
0 commit comments