]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
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)
commit423a930c9a60ffd365f4766080d662d66f18f996
tree3a13b53cc9d4826fcb73e0d18a61390dd7392e48
parentebebc7a12df3354d3c49b97b9aa07a7bb0c15aa2
parenta5cdff3bd42e82f58de45dd49d468a6d4c54b54b
Rollup merge of #87708 - the8472:canonical_v6, r=dtolnay

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.
library/std/src/net/ip.rs