Update addr.rs

I little clarification
This commit is contained in:
Imbolc
2020-09-22 09:15:53 +03:00
committed by GitHub
parent c2bc344eb2
commit 2a40b63662

View File

@@ -747,7 +747,7 @@ impl hash::Hash for SocketAddrV6 {
/// ///
/// * `(`[`&str`]`, `[`u16`]`)`: the string should be either a string representation /// * `(`[`&str`]`, `[`u16`]`)`: the string should be either a string representation
/// of an [`IpAddr`] address as expected by [`FromStr`] implementation or a host /// 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 /// * [`&str`]: the string should be either a string representation of a
/// [`SocketAddr`] as expected by its [`FromStr`] implementation or a string like /// [`SocketAddr`] as expected by its [`FromStr`] implementation or a string like