Skip to content

Commit

Permalink
Removed 'Initializer' import and use as it seems to not exist anymore
Browse files Browse the repository at this point in the history
This was causing compilation issues which are now fixed for me
  • Loading branch information
Victor Roest authored and djc committed Oct 3, 2019
1 parent 2dcb084 commit 4560e63
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions quinn/src/streams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -421,10 +421,6 @@ impl AsyncRead for RecvStream {
},
))
}

unsafe fn initializer(&self) -> Initializer {
Initializer::nop()
}
}

impl tokio_io::AsyncRead for RecvStream {
Expand Down

0 comments on commit 4560e63

Please sign in to comment.