summaryrefslogtreecommitdiffstats
path: root/tokio/src/net/tcp/split.rs
diff options
context:
space:
mode:
authorAlice Ryhl <alice@ryhl.io>2020-04-19 19:00:44 +0200
committerGitHub <noreply@github.com>2020-04-19 19:00:44 +0200
commit8f3a26597270871a2adbf4f8da80a82961e9e296 (patch)
tree6f541e33084ec33425beb326fca4c87ce5089623 /tokio/src/net/tcp/split.rs
parent800574b4e0c7d276866fc8c7b0efb2c8474e0315 (diff)
net: introduce owned split on TcpStream (#2270)
Diffstat (limited to 'tokio/src/net/tcp/split.rs')
-rw-r--r--tokio/src/net/tcp/split.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/net/tcp/split.rs b/tokio/src/net/tcp/split.rs
index cce50f6a..39dca996 100644
--- a/tokio/src/net/tcp/split.rs
+++ b/tokio/src/net/tcp/split.rs
@@ -25,8 +25,8 @@ pub struct ReadHalf<'a>(&'a TcpStream);
/// Write half of a `TcpStream`.
///
-/// Note that in the `AsyncWrite` implemenation of `TcpStreamWriteHalf`,
-/// `poll_shutdown` actually shuts down the TCP stream in the write direction.
+/// Note that in the `AsyncWrite` implemenation of this type, `poll_shutdown` will
+/// shut down the TCP stream in the write direction.
#[derive(Debug)]
pub struct WriteHalf<'a>(&'a TcpStream);