Skip to content

Commit 4622ceb

Browse files
imbolcpickfire
andauthored
Update library/std/src/net/addr.rs
Co-authored-by: Ivan Tham <[email protected]>
1 parent 5ab714f commit 4622ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/net/addr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ impl hash::Hash for SocketAddrV6 {
745745
/// `(`[`Ipv4Addr`]`, `[`u16`]`)`, `(`[`Ipv6Addr`]`, `[`u16`]`)`:
746746
/// [`to_socket_addrs`] constructs a [`SocketAddr`] trivially.
747747
///
748-
/// * `(`[`&str`]`, `[`u16`]`)`: the string should be either a string representation
748+
/// * `(`[`&str`]`, `[`u16`]`)`: [`&str`] should be either a string representation
749749
/// of an [`IpAddr`] address as expected by [`FromStr`] implementation or a host
750750
/// name. [`u16`] is the port number.
751751
///

0 commit comments

Comments
 (0)