From 30f7f1dbe6f04a5726007807d24fbccd71eddab0 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Tue, 9 Jan 2018 18:30:10 -0800 Subject: [PATCH] chore(tests): fix tests when tokio-proto feature disabled --- src/mock.rs | 3 --- 1 file changed, 3 deletions(-) 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) }