about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 499b1137dcb..a52e23de76f 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.
+///    name. The second [`u16`] value of the tuple represents a port.
 ///
 ///  * [`&str`]: the string should be either a string representation of a
 ///    [`SocketAddr`] as expected by its [`FromStr`] implementation or a string like