diff --git a/tokio/src/io/util/mem.rs b/tokio/src/io/util/mem.rs index d4cd08eec..74c8cf149 100644 --- a/tokio/src/io/util/mem.rs +++ b/tokio/src/io/util/mem.rs @@ -185,7 +185,7 @@ impl Drop for DuplexStream { /// Creates unidirectional buffer that acts like in memory pipe. /// /// The `max_buf_size` argument is the maximum amount of bytes that can be -/// written to a buffer before the it returns `Poll::Pending`. +/// written to a buffer before it returns `Poll::Pending`. /// /// # Unify reader and writer /// @@ -217,7 +217,7 @@ impl SimplexStream { /// version with separate reader and writer you can use [`simplex`] function. /// /// The `max_buf_size` argument is the maximum amount of bytes that can be - /// written to a buffer before the it returns `Poll::Pending`. + /// written to a buffer before it returns `Poll::Pending`. #[cfg_attr(docsrs, doc(cfg(feature = "io-util")))] pub fn new_unsplit(max_buf_size: usize) -> SimplexStream { SimplexStream {