Nadrieril 3cd378cc15
Rollup merge of #119081 - jstasiak:is-ipv4-mapped, r=dtolnay
Add Ipv6Addr::is_ipv4_mapped

This change consists of cherry-picking the content from the original PR[1], which got closed due to inactivity, and applying the following changes:

* Resolving merge conflicts (obviously)
* Linked to to_ipv4_mapped instead of to_ipv4 in the documentation (seems more appropriate)
* Added the must_use and rustc_const_unstable attributes the original didn't have

I think it's a reasonably useful method to have.

[1] https://github.com/rust-lang/rust/pull/86490
2024-01-21 06:38:35 +01:00
..
2024-01-11 15:04:48 +03:00
2024-01-11 15:04:48 +03:00
2023-12-10 10:56:22 +08:00
2022-10-08 11:48:53 +00:00
2022-07-13 17:07:41 -07:00
2024-01-11 15:04:48 +03:00
2023-06-29 01:55:03 +02:00
2023-04-26 02:10:22 -04:00
2023-04-16 11:38:52 +00:00
2024-01-11 15:04:48 +03:00
2023-12-10 10:56:22 +08:00
2023-05-30 08:00:10 -04:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2024-01-11 15:04:48 +03:00
2023-07-03 14:05:55 +02:00
2024-01-19 20:38:51 +00:00
2023-09-23 14:23:51 -03:00
2023-07-12 21:38:55 -04:00
2023-11-04 15:27:25 -04:00
2023-12-10 10:56:22 +08:00
2021-11-21 19:10:39 -08:00
2024-01-11 15:04:48 +03:00
2022-09-27 19:23:52 +00:00
2024-01-11 15:04:48 +03:00
2023-11-26 08:50:39 -05:00
2022-08-20 12:49:20 -04:00
2022-12-30 14:00:42 +01:00
2023-01-02 10:33:23 -08:00
2024-01-11 15:04:48 +03:00
2022-07-08 21:18:15 +00:00
2022-06-27 13:30:44 -04:00