Skip to content

Commit 234e63e

Browse files
darth-raijinmrmacow
authored andcommitted
net: provide clarity on behavior into_split() for unix stream
1 parent 4714ca1 commit 234e63e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/net/unix/stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ impl UnixStream {
974974
/// Unlike [`split`], the owned halves can be moved to separate tasks, however
975975
/// this comes at the cost of a heap allocation.
976976
///
977-
/// **Note:** Dropping the write half will shut down the write half of the
977+
/// **Note:** Dropping the write half will only shut down the write half of the
978978
/// stream. This is equivalent to calling [`shutdown()`] on the `UnixStream`.
979979
///
980980
/// [`split`]: Self::split()

0 commit comments

Comments
 (0)