diff options
| author | CDirkx <christiaan@dirkx.com> | 2020-08-31 05:09:20 +0200 |
|---|---|---|
| committer | CDirkx <christiaan@dirkx.com> | 2020-08-31 05:09:20 +0200 |
| commit | fbb367333190128015d35c0211877d71796f8deb (patch) | |
| tree | 59723cbd54a2ef81325f23f9749e296fddb83e12 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | 36b0d7e25769e88fec85e1d073196065a7f2d7c4 (diff) | |
| download | rust-fbb367333190128015d35c0211877d71796f8deb.tar.gz rust-fbb367333190128015d35c0211877d71796f8deb.zip | |
Make more Ipv4Addr methods const
Constify the following methods of `std::net::Ipv4Addr`: - `octets` - `is_loopback` - `is_private` - `is_link_local` - `is_shared` - `is_ietf_protocol_assignment` - `is_benchmarking` - `is_multicast` - `is_documentation` Also insta-stabilizes these methods as const. Possible because of the stabilization of const integer arithmetic and control flow.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
