Remove pin_mut usage

This commit is contained in:
Dominik Werder
2021-05-20 20:09:12 +02:00
parent 30be7d1c44
commit 61564f502e

View File

@@ -376,9 +376,7 @@ impl Stream for NeedMinBuffer {
}
loop {
let mut again = false;
let g = &mut self.inp;
pin_mut!(g);
let z = match g.poll_next(cx) {
let z = match self.inp.poll_next_unpin(cx) {
Ready(Some(Ok(fcr))) => {
//info!("NeedMin got buf len {}", buf.len());
match self.left.take() {