util: deduplicate implementations of poll_read_buf() (#3064)

This commit is contained in:
Dirkjan Ochtman
2020-10-29 13:20:38 +01:00
committed by GitHub
parent 34eb47dde5
commit a3ef4e4cf5
3 changed files with 1 additions and 93 deletions
-2
View File
@@ -6,12 +6,10 @@
//! [`Body`]: https://docs.rs/hyper/0.13/hyper/struct.Body.html
//! [`AsyncRead`]: tokio::io::AsyncRead
mod poll_read_buf;
mod read_buf;
mod reader_stream;
mod stream_reader;
pub use self::poll_read_buf::poll_read_buf;
pub use self::read_buf::read_buf;
pub use self::reader_stream::ReaderStream;
pub use self::stream_reader::StreamReader;