Merge pull request #46 from bennyyip/master

typo
This commit is contained in:
Y. T. CHUNG
2017-05-25 08:45:33 +08:00
committed by GitHub
+1 -1
View File
@@ -120,7 +120,7 @@ impl<R, W> Future for CopyTimeout<R, W>
let n = try_nb!(self.read_or_set_timeout());
if n == 0 {
// 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.
try_nb!(self.w.as_mut().unwrap().flush());