When not going through pre-binned the read bytes are exact

This commit is contained in:
Dominik Werder
2021-05-06 18:25:45 +02:00
parent af9c11bdd8
commit a89e1cfc50
4 changed files with 6 additions and 6 deletions

View File

@@ -198,10 +198,6 @@ where
}
}
// This can:
// Do nothing if all have Val or Finished.
// But if some is None:
// We might get some Pending from upstream. In that case, caller also wants to abort here.
fn replenish(self: &mut Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), Error>> {
use Poll::*;
let mut pending = 0;