From c434ed786509792db580e800f796adcad6a5915c Mon Sep 17 00:00:00 2001 From: Mohamed Macow <58916277+darth-raijin@users.noreply.github.com> Date: Sun, 23 Nov 2025 10:18:24 +0100 Subject: [PATCH] net: clarify the drop behavior of `unix::OwnedWriteHalf` (#7742) --- tokio/src/net/unix/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/net/unix/stream.rs b/tokio/src/net/unix/stream.rs index 26fe9e40..2391d54b 100644 --- a/tokio/src/net/unix/stream.rs +++ b/tokio/src/net/unix/stream.rs @@ -974,7 +974,7 @@ impl UnixStream { /// Unlike [`split`], the owned halves can be moved to separate tasks, however /// this comes at the cost of a heap allocation. /// - /// **Note:** Dropping the write half will shut down the write half of the + /// **Note:** Dropping the write half will only shut down the write half of the /// stream. This is equivalent to calling [`shutdown()`] on the `UnixStream`. /// /// [`split`]: Self::split() -- 2.43.0