Skip to content

Commit

Permalink
Removed unused function + fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed May 17, 2020
1 parent 42a8152 commit 6adcfee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions futures-util/src/compat/compat01as03.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,6 @@ mod io {
/// # futures::executor::block_on(async {
/// use futures::io::AsyncReadExt;
/// use futures_util::compat::AsyncRead01CompatExt;
///
/// fn create_async_read_cursor<'a>(input: &'a [u8]) -> impl futures::io::AsyncRead + Unpin + 'a {
/// std::io::Cursor::new(input).compat()
/// }
///
/// let input = b"Hello World!";
/// let reader /* : impl tokio_io::AsyncRead */ = std::io::Cursor::new(input);
Expand Down
1 change: 1 addition & 0 deletions futures/tests/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ fn take_until() {
}

#[cfg(feature = "executor")] // executor::
#[test]
#[should_panic]
fn ready_chunks_panic_on_cap_zero() {
use futures::channel::mpsc;
Expand Down

0 comments on commit 6adcfee

Please sign in to comment.