We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a65e9f + 40a9be9 commit 6c3359cCopy full SHA for 6c3359c
core/src/net/ip_addr.rs
@@ -406,7 +406,7 @@ impl IpAddr {
406
matches!(self, IpAddr::V6(_))
407
}
408
409
- /// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6 addresses, otherwise it
+ /// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6 address, otherwise it
410
/// returns `self` as-is.
411
///
412
/// # Examples
@@ -1879,7 +1879,7 @@ impl Ipv6Addr {
1879
1880
1881
1882
- /// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped addresses, otherwise it
+ /// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped address, otherwise it
1883
/// returns self wrapped in an `IpAddr::V6`.
1884
1885
0 commit comments