diff options
| author | CDirkx <christiaan@dirkx.com> | 2020-09-01 19:00:20 +0200 |
|---|---|---|
| committer | CDirkx <christiaan@dirkx.com> | 2020-09-01 19:00:20 +0200 |
| commit | b31cc8f83e7f50f54bffa93e909d51cdabf9f5fa (patch) | |
| tree | 0c7abed31c0e8427d90fa8365f4e423655f3e021 /compiler/rustc_codegen_llvm/src | |
| parent | e88e908e66cd1e6e30d789b37bcd774951d01856 (diff) | |
| download | rust-b31cc8f83e7f50f54bffa93e909d51cdabf9f5fa.tar.gz rust-b31cc8f83e7f50f54bffa93e909d51cdabf9f5fa.zip | |
Make all methods of `std::net::Ipv6Addr` const
Make the following methods of `std::net::Ipv6Addr` unstable const under the `const_ipv6` feature: - `segments` - `is_unspecified` - `is_loopback` - `is_global` (unstable) - `is_unique_local` - `is_unicast_link_local_strict` - `is_documentation` - `multicast_scope` - `is_multicast` - `to_ipv4_mapped` - `to_ipv4` Changed the implementation of `is_unspecified` and `is_loopback` to use a `match` instead of `==`. Part of #76205
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
