From 4622ceb5e02a717afd2380bc416b0a19897731ee Mon Sep 17 00:00:00 2001 From: Imbolc Date: Tue, 22 Sep 2020 19:09:35 +0300 Subject: [PATCH] Update library/std/src/net/addr.rs Co-authored-by: Ivan Tham --- library/std/src/net/addr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/net/addr.rs b/library/std/src/net/addr.rs index 16320ac3fe7..e213963d250 100644 --- a/library/std/src/net/addr.rs +++ b/library/std/src/net/addr.rs @@ -745,7 +745,7 @@ fn hash(&self, s: &mut H) { /// `(`[`Ipv4Addr`]`, `[`u16`]`)`, `(`[`Ipv6Addr`]`, `[`u16`]`)`: /// [`to_socket_addrs`] constructs a [`SocketAddr`] trivially. /// -/// * `(`[`&str`]`, `[`u16`]`)`: the string should be either a string representation +/// * `(`[`&str`]`, `[`u16`]`)`: [`&str`] should be either a string representation /// of an [`IpAddr`] address as expected by [`FromStr`] implementation or a host /// name. [`u16`] is the port number. /// -- 2.44.0