about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorImbolc <imbolc@imbolc.name>2020-09-22 09:15:53 +0300
committerGitHub <noreply@github.com>2020-09-22 09:15:53 +0300
commit2a40b6366245ddb38f4562da0b4f665f4d0e45d9 (patch)
treef701f347814599c6a51c24c2ed0da4e865432853 /library/std
parentc2bc344eb23d8c1d18e803b3f1e631cf99926fbb (diff)
downloadrust-2a40b6366245ddb38f4562da0b4f665f4d0e45d9.tar.gz
rust-2a40b6366245ddb38f4562da0b4f665f4d0e45d9.zip
Update addr.rs
I little clarification
Diffstat (limited to 'library/std')
-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