From ab2f71a612b25e8fe849acd97196211e12868d16 Mon Sep 17 00:00:00 2001 From: Nick Stott Date: Mon, 7 Oct 2019 12:20:57 -0400 Subject: [PATCH] chore: fix a comment typo (#1633) --- tokio-io/src/io/copy.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tokio-io/src/io/copy.rs b/tokio-io/src/io/copy.rs index 0d03c340e..e3bc63e14 100644 --- a/tokio-io/src/io/copy.rs +++ b/tokio-io/src/io/copy.rs @@ -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))?;