diff --git a/src/mock.rs b/src/mock.rs index 39c0312a..57830a90 100644 --- a/src/mock.rs +++ b/src/mock.rs @@ -87,9 +87,6 @@ impl AsyncIo { } impl AsyncIo { - #[cfg(feature = "tokio-proto")] - //TODO: fix proto::conn::tests to not use tokio-proto API, - //and then this cfg flag go away pub fn new_buf>>(buf: T, bytes: usize) -> AsyncIo { AsyncIo::new(Buf::wrap(buf.into()), bytes) }