Skip to content

Commit

Permalink
Update library/std/src/net/addr.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Tham <[email protected]>
  • Loading branch information
imbolc and pickfire authored Sep 22, 2020
1 parent 5ab714f commit 4622ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/net/addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ impl hash::Hash for SocketAddrV6 {
/// `(`[`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.
///
Expand Down

0 comments on commit 4622ceb

Please sign in to comment.