about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorImbolc <imbolc@imbolc.name>2020-09-22 19:09:27 +0300
committerGitHub <noreply@github.com>2020-09-22 19:09:27 +0300
commit5ab714fdfe00db1dbac1adf2f56a850768d478b4 (patch)
tree0cb41d55f8cab37a7cfd120f8cb54ebeef952158 /library/std/src
parent2a40b6366245ddb38f4562da0b4f665f4d0e45d9 (diff)
downloadrust-5ab714fdfe00db1dbac1adf2f56a850768d478b4.tar.gz
rust-5ab714fdfe00db1dbac1adf2f56a850768d478b4.zip
Update library/std/src/net/addr.rs
Co-authored-by: Ivan Tham <pickfire@riseup.net>
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/net/addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/addr.rs b/library/std/src/net/addr.rs
index a52e23de76f..16320ac3fe7 100644
--- a/library/std/src/net/addr.rs
+++ b/library/std/src/net/addr.rs
@@ -747,7 +747,7 @@ impl hash::Hash for SocketAddrV6 {
 ///
 ///  * `(`[`&str`]`, `[`u16`]`)`: the string should be either a string representation
 ///    of an [`IpAddr`] address as expected by [`FromStr`] implementation or a host
-///    name. The second [`u16`] value of the tuple represents a port.
+///    name. [`u16`] is the port number.
 ///
 ///  * [`&str`]: the string should be either a string representation of a
 ///    [`SocketAddr`] as expected by its [`FromStr`] implementation or a string like