]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #87708 - the8472:canonical_v6, r=dtolnay
authorYuki Okushi <jtitor@2k36.org>
Tue, 3 Aug 2021 10:07:48 +0000 (19:07 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 10:07:48 +0000 (19:07 +0900)
Add convenience method for handling ipv4-mapped addresses by canonicalizing them

This simplifies checking common properties in an address-family-agnostic
way since #86335 commits to not checking IPv4 semantics
of IPv4-mapped addresses in the `Ipv6Addr` property methods.

1  2 
library/std/src/net/ip.rs

Simple merge