net: clarify the drop behavior of unix::OwnedWriteHalf (#7742)

This commit is contained in:
Mohamed Macow
2025-11-23 17:18:24 +08:00
committed by GitHub
parent 4714ca168d
commit c434ed7865
+1 -1
View File
@@ -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()