File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -383,10 +383,6 @@ mod io {
383383 /// # futures::executor::block_on(async {
384384 /// use futures::io::AsyncReadExt;
385385 /// use futures_util::compat::AsyncRead01CompatExt;
386- ///
387- /// fn create_async_read_cursor<'a>(input: &'a [u8]) -> impl futures::io::AsyncRead + Unpin + 'a {
388- /// std::io::Cursor::new(input).compat()
389- /// }
390386 ///
391387 /// let input = b"Hello World!";
392388 /// let reader /* : impl tokio_io::AsyncRead */ = std::io::Cursor::new(input);
Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ fn take_until() {
311311}
312312
313313#[ cfg( feature = "executor" ) ] // executor::
314+ #[ test]
314315#[ should_panic]
315316fn ready_chunks_panic_on_cap_zero ( ) {
316317 use futures:: channel:: mpsc;
You can’t perform that action at this time.
0 commit comments