Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed 'Initializer' import and use as it seems to not exist anymore #455

Merged
merged 1 commit into from
Oct 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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