We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6b22e9 commit 40a9be9Copy full SHA for 40a9be9
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