We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab714f commit 4622cebCopy full SHA for 4622ceb
library/std/src/net/addr.rs
@@ -745,7 +745,7 @@ impl hash::Hash for SocketAddrV6 {
745
/// `(`[`Ipv4Addr`]`, `[`u16`]`)`, `(`[`Ipv6Addr`]`, `[`u16`]`)`:
746
/// [`to_socket_addrs`] constructs a [`SocketAddr`] trivially.
747
///
748
-/// * `(`[`&str`]`, `[`u16`]`)`: the string should be either a string representation
+/// * `(`[`&str`]`, `[`u16`]`)`: [`&str`] should be either a string representation
749
/// of an [`IpAddr`] address as expected by [`FromStr`] implementation or a host
750
/// name. [`u16`] is the port number.
751
0 commit comments