about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-05 09:24:36 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-05 09:24:36 +0530
commit60f01b49af090a5f3dbcbf2ef6fc6a000be31202 (patch)
treee6fddd510b3df04a0c3f7abf21fc4c2055f19d69 /src/libstd
parentaff0782b23a40b16719f3e045e329f8141abf82e (diff)
parent93055587a2927b0c32b2d4e71fa64b3cee97926c (diff)
downloadrust-60f01b49af090a5f3dbcbf2ef6fc6a000be31202.tar.gz
rust-60f01b49af090a5f3dbcbf2ef6fc6a000be31202.zip
Rollup merge of #25105 - tshepang:doc-addr, r=steveklabnik
 This did not render as intended:

>This is defined in RFC 5737 - 192.0.2.0/24 (TEST-NET-1) - 198.51.100.0/24 (TEST-NET-2) - 203.0.113.0/24 (TEST-NET-3)

vs.

> This is defined in RFC 5737
- 192.0.2.0/24 (TEST-NET-1)
- 198.51.100.0/24 (TEST-NET-2)
- 203.0.113.0/24 (TEST-NET-3)
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/net/ip.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/net/ip.rs b/src/libstd/net/ip.rs
index bdf81d8cd6a..bc13d966a10 100644
--- a/src/libstd/net/ip.rs
+++ b/src/libstd/net/ip.rs
@@ -142,7 +142,8 @@ impl Ipv4Addr {
 
     /// Returns true if this address is in a range designated for documentation.
     ///
-    /// This is defined in RFC 5737
+    /// This is defined in RFC 5737:
+    ///
     /// - 192.0.2.0/24 (TEST-NET-1)
     /// - 198.51.100.0/24 (TEST-NET-2)
     /// - 203.0.113.0/24 (TEST-NET-3)