diff options
| author | Imbolc <imbolc@imbolc.name> | 2020-09-22 19:09:35 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-22 19:09:35 +0300 |
| commit | 4622ceb5e02a717afd2380bc416b0a19897731ee (patch) | |
| tree | beb5b1f87193e9888edc1e39e467a373305cfc4d /library/std/src | |
| parent | 5ab714fdfe00db1dbac1adf2f56a850768d478b4 (diff) | |
| download | rust-4622ceb5e02a717afd2380bc416b0a19897731ee.tar.gz rust-4622ceb5e02a717afd2380bc416b0a19897731ee.zip | |
Update library/std/src/net/addr.rs
Co-authored-by: Ivan Tham <pickfire@riseup.net>
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/net/addr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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. /// |
