summaryrefslogtreecommitdiffstats
path: root/tokio/src/net/tcp
diff options
context:
space:
mode:
authorNikita Baksalyar <nikita.baksalyar@gmail.com>2020-04-12 14:59:37 +0100
committerGitHub <noreply@github.com>2020-04-12 15:59:37 +0200
commit8118f8f117a5b544f3bc6b3ce4e639a2a605afcb (patch)
treec6002b471079d5f867b5b8916b77ffbf26790b76 /tokio/src/net/tcp
parent1e679748ecedfb0e894c5028eb8c67f44e47507a (diff)
docs: fix incorrect documentation links & formatting (#2332)
The streams documentation referred to module-level 'split' doc which is no longer there
Diffstat (limited to 'tokio/src/net/tcp')
-rw-r--r--tokio/src/net/tcp/stream.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/tokio/src/net/tcp/stream.rs b/tokio/src/net/tcp/stream.rs
index f9c2e98f..6df35a40 100644
--- a/tokio/src/net/tcp/stream.rs
+++ b/tokio/src/net/tcp/stream.rs
@@ -614,9 +614,6 @@ impl TcpStream {
/// Splits a `TcpStream` into a read half and a write half, which can be used
/// to read and write the stream concurrently.
- ///
- /// See the module level documenation of [`split`](super::split) for more
- /// details.
pub fn split(&mut self) -> (ReadHalf<'_>, WriteHalf<'_>) {
split(self)
}