From 315a320e96f413cb56f153806953acaaf7975976 Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Wed, 15 Jul 2026 18:51:52 +0200 Subject: [PATCH] io: fix typo in `SimplexStream` docs (#8284) --- tokio/src/io/util/mem.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {