util: add back public poll_read_buf() function (#3079)

This was accidentally removed in #3064.
This commit is contained in:
Dirkjan Ochtman
2020-11-01 10:22:22 +01:00
committed by GitHub
parent 382ee6bf5d
commit 2b23aa7389
6 changed files with 49 additions and 9 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ where
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
let this = &mut *self;
crate::util::poll_read_buf(cx, Pin::new(this.0), this.1)
crate::util::poll_read_buf(Pin::new(this.0), cx, this.1)
}
}
}