summary refs log tree commit diff
path: root/library/std/src/net/ip
AgeCommit message (Collapse)AuthorLines
2021-01-20Dont prefix 0x when `dbg!(ipv6)`Lzu Tao-0/+3
2020-11-26Move const ip in ui test to unit testDaiki Ihara-0/+6
2020-09-23Make delegation methods of `std::net::IpAddr` unstable constChristiaan Dirkx-0/+19
Make the following methods of `std::net::IpAddr` unstable const under the `const_ip` feature: - `is_unspecified` - `is_loopback` - `is_global` - `is_multicast` Also adds a test for these methods in a const context. Possible because these methods delegate to the inner `Ipv4Addr` or `Ipv6Addr`, which were made const, and the recent stabilization of const control flow. Part of #76205
2020-09-03Make `Ipv4Addr` and `Ipv6Addr` const tests unit tests under `library`Christiaan Dirkx-0/+109
These tests are about the standard library, not the compiler itself, thus should live in `library`, see #76268.
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+811
Also doing fmt inplace as requested.