From 8f3a26597270871a2adbf4f8da80a82961e9e296 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 19 Apr 2020 19:00:44 +0200 Subject: net: introduce owned split on TcpStream (#2270) --- tokio/src/net/tcp/split.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tokio/src/net/tcp/split.rs') 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); -- cgit v1.2.3