chore: fix a comment typo (#1633)

This commit is contained in:
Nick Stott
2019-10-07 09:20:57 -07:00
committed by Carl Lerche
parent 42a5cb1508
commit ab2f71a612
+1 -2
View File
@@ -70,9 +70,8 @@ where
}
}
// If we've written al the data and we've seen EOF, flush out the
// If we've written all the data and we've seen EOF, flush out the
// data and finish the transfer.
// done with the entire transfer.
if self.pos == self.cap && self.read_done {
let me = &mut *self;
ready!(Pin::new(&mut *me.writer).poll_flush(cx))?;