From e64736c4181559b87cb4a845fcecf8ec4da32815 Mon Sep 17 00:00:00 2001 From: Victor Roest Date: Wed, 2 Oct 2019 15:52:45 +0200 Subject: [PATCH] Removed 'Initializer' import and use as it seems to not exist anymore This was causing compilation issues which are now fixed for me --- quinn/src/streams.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/quinn/src/streams.rs b/quinn/src/streams.rs index 768530911..5f63e32f6 100644 --- a/quinn/src/streams.rs +++ b/quinn/src/streams.rs @@ -5,7 +5,7 @@ use std::str; use bytes::Bytes; use err_derive::Error; use futures::channel::oneshot; -use futures::io::{AsyncRead, AsyncWrite, Initializer}; +use futures::io::{AsyncRead, AsyncWrite}; use futures::task::Context; use futures::{ready, Future, FutureExt, Poll}; use proto::{ConnectionError, StreamId}; @@ -421,10 +421,6 @@ impl AsyncRead for RecvStream { }, )) } - - unsafe fn initializer(&self) -> Initializer { - Initializer::nop() - } } impl tokio_io::AsyncRead for RecvStream {