about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Martins <ricardo@scarybox.net>2015-03-17 14:51:47 +0000
committerRicardo Martins <ricardo@scarybox.net>2015-03-17 14:56:27 +0000
commit730defc9d1c6e1a6c9724e0ea81d1df879ccd78f (patch)
tree20a51c02573777156010d24ae1a29e7330b3f365
parent31ba21228e0e539a665ce14ab3a176e30e57f822 (diff)
downloadrust-730defc9d1c6e1a6c9724e0ea81d1df879ccd78f.tar.gz
rust-730defc9d1c6e1a6c9724e0ea81d1df879ccd78f.zip
Fix IPv6 address format in documentation
Very minor fix: in `std::net::Ipv6Addr::new`, the documentation had an incomplete representation of the resulting address, missing the last two groups.
-rw-r--r--src/libstd/net/ip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net/ip.rs b/src/libstd/net/ip.rs
index c5f2ae53d22..73c2464a6b2 100644
--- a/src/libstd/net/ip.rs
+++ b/src/libstd/net/ip.rs
@@ -202,7 +202,7 @@ impl FromInner<libc::in_addr> for Ipv4Addr {
 impl Ipv6Addr {
     /// Create a new IPv6 address from eight 16-bit segments.
     ///
-    /// The result will represent the IP address a:b:c:d:e:f
+    /// The result will represent the IP address a:b:c:d:e:f:g:h
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16,
                h: u16) -> Ipv6Addr {