Update library/std/src/net/addr.rs

Co-authored-by: Ivan Tham <pickfire@riseup.net>
This commit is contained in:
Imbolc 2020-09-22 19:09:27 +03:00 committed by GitHub
parent 2a40b63662
commit 5ab714fdfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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