Use Sink trait from futures-sink-preview (#1244)

This commit is contained in:
Aaron Hill
2019-07-08 09:56:11 -07:00
committed by Carl Lerche
parent e07a03b3c5
commit d4803bc868
8 changed files with 13 additions and 77 deletions
+2 -2
View File
@@ -56,9 +56,9 @@ async fn async_send_recv_with_buffer() {
#[test]
#[cfg(feature = "async-traits")]
fn send_sink_recv_with_buffer() {
use async_sink::Sink;
use futures_core::Stream;
use pin_utils::pin_mut;
use tokio_futures::Sink;
let mut t1 = MockTask::new();
@@ -169,9 +169,9 @@ async fn async_send_recv_unbounded() {
#[test]
#[cfg(feature = "async-traits")]
fn sink_send_recv_unbounded() {
use async_sink::Sink;
use futures_core::Stream;
use pin_utils::pin_mut;
use tokio_futures::Sink;
let mut t1 = MockTask::new();