Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryder-C committed Nov 23, 2023
1 parent 7a30504 commit 57459d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio/src/net/tcp/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1267,8 +1267,8 @@ impl TcpStream {
/// 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 TCP
/// stream. This is equivalent to calling [`shutdown()`] on the `TcpStream`.
/// **Note:** Dropping the write half will shut down the TCP stream.
/// This is equivalent to calling [`shutdown()`] on the `TcpStream`.
///
/// [`split`]: TcpStream::split()
/// [`shutdown()`]: fn@crate::io::AsyncWriteExt::shutdown
Expand Down

0 comments on commit 57459d0

Please sign in to comment.