diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-03 02:22:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-03 02:22:02 +0200 |
| commit | 9605f94f6989fd547f5e61506b18963d24b450ea (patch) | |
| tree | 7da8a2202b7241447b1ca151d50abb378d70961f /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | 10aa3d3f89195f6cab93700f2514744c814a4881 (diff) | |
| parent | 0c77257e56a20a81f5b4e4452cae5e460ad30140 (diff) | |
| download | rust-9605f94f6989fd547f5e61506b18963d24b450ea.tar.gz rust-9605f94f6989fd547f5e61506b18963d24b450ea.zip | |
Rollup merge of #76142 - CDirkx:const-ip, r=ecstatic-morse
Make all methods of `std::net::Ipv4Addr` const Make the following methods of `std::net::Ipv4Addr` unstable const under the `const_ipv4` feature: - `octets` - `is_loopback` - `is_private` - `is_link_local` - `is_global` (unstable) - `is_shared` (unstable) - `is_ietf_protocol_assignment` (unstable) - `is_benchmarking` (unstable) - `is_reserved` (unstable) - `is_multicast` - `is_broadcast` - `is_documentation` - `to_ipv6_compatible` - `to_ipv6_mapped` This would make all methods of `Ipv6Addr` const. Of these methods, `is_global`, `is_broadcast`, `to_ipv6_compatible`, and `to_ipv6_mapped` require a change in implementation. Part of #76205
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
