diff options
| author | Christiaan Dirkx <christiaan@dirkx.email> | 2020-09-01 23:55:17 +0200 |
|---|---|---|
| committer | Christiaan Dirkx <christiaan@dirkx.email> | 2020-09-01 23:55:17 +0200 |
| commit | 0c77257e56a20a81f5b4e4452cae5e460ad30140 (patch) | |
| tree | a657927ddb301b0719923239c6edb32f8ae79df3 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | fb64e6dcf0a7ea0518c8f2d499327a2b6974f859 (diff) | |
| download | rust-0c77257e56a20a81f5b4e4452cae5e460ad30140.tar.gz rust-0c77257e56a20a81f5b4e4452cae5e460ad30140.zip | |
Make all remaining methods of `std::net::Ipv4Addr` const
Makes the following methods of `std::net::Ipv4Addr` unstable const under the `const_ipv4` feature: - `is_global` - `is_reserved` - `is_broadcast` - `to_ipv6_compatible` - `to_ipv6_mapped` This results in all methods of `Ipv4Addr` being const. Also adds tests for these methods in a const context.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
