mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
Use Sink trait from futures-sink-preview (#1244)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user