about summary refs log tree commit diff
path: root/src/libstd/net
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-03-11 21:11:40 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-03-11 21:11:40 -0400
commit64ab111b5387e9985df188a970350c9e6c7f1451 (patch)
treeb53d97e99191c256cd0bcfd9c510652b454e8477 /src/libstd/net
parentf899513a30165946a75ff7f515ab37a226e72172 (diff)
downloadrust-64ab111b5387e9985df188a970350c9e6c7f1451.tar.gz
rust-64ab111b5387e9985df188a970350c9e6c7f1451.zip
Example -> Examples
This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
Diffstat (limited to 'src/libstd/net')
-rw-r--r--src/libstd/net/mod.rs2
-rw-r--r--src/libstd/net/tcp.rs2
-rw-r--r--src/libstd/net/udp.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/net/mod.rs b/src/libstd/net/mod.rs
index d73c06a2549..b8cb8cb5289 100644
--- a/src/libstd/net/mod.rs
+++ b/src/libstd/net/mod.rs
@@ -82,7 +82,7 @@ impl Iterator for LookupHost {
 /// This method may perform a DNS query to resolve `host` and may also inspect
 /// system configuration to resolve the specified hostname.
 ///
-/// # Example
+/// # Examples
 ///
 /// ```no_run
 /// use std::net;
diff --git a/src/libstd/net/tcp.rs b/src/libstd/net/tcp.rs
index fd723ea13e9..76c04835473 100644
--- a/src/libstd/net/tcp.rs
+++ b/src/libstd/net/tcp.rs
@@ -21,7 +21,7 @@ use sys_common::AsInner;
 ///
 /// The socket will be closed when the value is dropped.
 ///
-/// # Example
+/// # Examples
 ///
 /// ```no_run
 /// use std::io::prelude::*;
diff --git a/src/libstd/net/udp.rs b/src/libstd/net/udp.rs
index 92f00599826..041e6551ff5 100644
--- a/src/libstd/net/udp.rs
+++ b/src/libstd/net/udp.rs
@@ -21,7 +21,7 @@ use sys_common::AsInner;
 /// IPv6 addresses, and there is no corresponding notion of a server because UDP
 /// is a datagram protocol.
 ///
-/// # Example
+/// # Examples
 ///
 /// ```no_run
 /// use std::net::UdpSocket;