From 23f0a12737b6dec89ff4653f65a4df1685bb9fbc Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 30 Oct 2020 20:26:26 +0100 Subject: [PATCH] util: add back public poll_read_buf() function This was accidentally removed in #3064. --- tokio-util/CHANGELOG.md | 6 +++--- tokio-util/src/io/mod.rs | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tokio-util/CHANGELOG.md b/tokio-util/CHANGELOG.md index 64228895200..48dfe778e26 100644 --- a/tokio-util/CHANGELOG.md +++ b/tokio-util/CHANGELOG.md @@ -1,11 +1,11 @@ +### Added +- io: `poll_read_buf` util fn (#2972). + # 0.5.0 (October 30, 2020) ### Changed - io: update `bytes` to 0.6 (#3071). -### Added -- io: `poll_read_buf` util fn (#2972). - # 0.4.0 (October 15, 2020) ### Added diff --git a/tokio-util/src/io/mod.rs b/tokio-util/src/io/mod.rs index 6f181ab1703..ceb3ac27185 100644 --- a/tokio-util/src/io/mod.rs +++ b/tokio-util/src/io/mod.rs @@ -10,6 +10,7 @@ mod read_buf; mod reader_stream; mod stream_reader; +pub use crate::util::poll_read_buf; pub use self::read_buf::read_buf; pub use self::reader_stream::ReaderStream; pub use self::stream_reader::StreamReader;