summary refs log tree commit diff
path: root/src/libstd/net
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2017-04-06 12:57:40 +0100
committerOliver Middleton <olliemail27@gmail.com>2017-04-06 12:57:40 +0100
commitb4be4758361bf1b03410a523e8672b1c1fa7d385 (patch)
treede2eb5ad9c527ac1d0ee2a6dfb7b88a0d64eb0b6 /src/libstd/net
parente5e92753cc3e12c3c468b6badaf340fe4443145c (diff)
downloadrust-b4be4758361bf1b03410a523e8672b1c1fa7d385.tar.gz
rust-b4be4758361bf1b03410a523e8672b1c1fa7d385.zip
Fix Markdown issues in the docs
* Since the switch to pulldown-cmark reference links need a blank line
before the URLs.
* Reference link references are not case sensitive.
* Doc comments need to be indented uniformly otherwise rustdoc gets
confused.
Diffstat (limited to 'src/libstd/net')
-rw-r--r--src/libstd/net/tcp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/net/tcp.rs b/src/libstd/net/tcp.rs
index cf119720e5a..bc315d54100 100644
--- a/src/libstd/net/tcp.rs
+++ b/src/libstd/net/tcp.rs
@@ -58,7 +58,7 @@ pub struct TcpStream(net_imp::TcpStream);
 ///
 /// After creating a `TcpListener` by [`bind`]ing it to a socket address, it listens
 /// for incoming TCP connections. These can be accepted by calling [`accept`] or by
-/// iterating over the [`Incoming`] iterator returned by [`incoming`].
+/// iterating over the [`Incoming`] iterator returned by [`incoming`][`TcpListener::incoming`].
 ///
 /// The socket will be closed when the value is dropped.
 ///
@@ -68,7 +68,7 @@ pub struct TcpStream(net_imp::TcpStream);
 /// [`bind`]: #method.bind
 /// [IETF RFC 793]: https://tools.ietf.org/html/rfc793
 /// [`Incoming`]: ../../std/net/struct.Incoming.html
-/// [`incoming`]: #method.incoming
+/// [`TcpListener::incoming`]: #method.incoming
 ///
 /// # Examples
 ///