mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
Merge pull request #161 from seeekr/patch-1
Fix typo in non-doc comment in copy.rs
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ impl<R, W> Future for Copy<R, W>
|
|||||||
self.amt += i as u64;
|
self.amt += i as u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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.
|
// data and finish the transfer.
|
||||||
// done with the entire transfer.
|
// done with the entire transfer.
|
||||||
if self.pos == self.cap && self.read_done {
|
if self.pos == self.cap && self.read_done {
|
||||||
|
|||||||
Reference in New Issue
Block a user