Make Stream impls part of optional 'stream' cargo feature (#397)
This commit is contained in:
		
				
					committed by
					
						 Carl Lerche
						Carl Lerche
					
				
			
			
				
	
			
			
			
						parent
						
							f31ec5d0da
						
					
				
				
					commit
					a1db5428db
				
			| @@ -239,7 +239,9 @@ async fn abrupt_shutdown() { | ||||
|         srv.abrupt_shutdown(Reason::INTERNAL_ERROR); | ||||
|  | ||||
|         let srv_fut = async move { | ||||
|             poll_fn(move |cx| srv.poll_close(cx)).await.expect("server"); | ||||
|             poll_fn(move |cx| srv.poll_closed(cx)) | ||||
|                 .await | ||||
|                 .expect("server"); | ||||
|         }; | ||||
|  | ||||
|         join(req_fut, srv_fut).await; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user