Rollup merge of #127182 - danielhuang:patch-4, r=Nilstrieb · model-checking/verify-rust-std@6c3359c (original) (raw)

Original file line number Diff line number Diff line change
@@ -406,7 +406,7 @@ impl IpAddr {
406 406 matches!(self, IpAddr::V6(_))
407 407 }
408 408
409 -/// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6 addresses, otherwise it
409 +/// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6 address, otherwise it
410 410 /// returns `self` as-is.
411 411 ///
412 412 /// # Examples
@@ -1879,7 +1879,7 @@ impl Ipv6Addr {
1879 1879 }
1880 1880 }
1881 1881
1882 -/// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped addresses, otherwise it
1882 +/// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped address, otherwise it
1883 1883 /// returns self wrapped in an `IpAddr::V6`.
1884 1884 ///
1885 1885 /// # Examples