Files
Jonathan Brouwer 92dbb8a02b Rollup merge of #152487 - joboet:array_map_zst, r=oli-obk
core: drop unmapped ZSTs in array `map`

Fixes https://github.com/rust-lang/rust/issues/152211.
Alternative to rust-lang/rust#152220 and rust-lang/rust#152248.

This makes the `Drain` type use the same ZST-handling strategy as `slice::IterMut`, which stores the remaining length instead of a one-past-the-end pointer when the type is a ZST. I've also removed the const-generic `N` parameter from `Drain` to avoid unnecessary monomorphizations.
2026-05-07 22:44:05 +02:00
..
2026-04-20 17:40:30 +02:00
2025-09-12 13:54:15 -05:00
2025-08-02 17:34:59 -04:00
2026-01-11 16:39:18 +03:00
2025-07-09 16:37:11 +00:00
2026-05-07 11:42:51 +02:00
2025-09-16 10:05:40 -05:00
2025-09-16 10:26:52 -05:00
2026-01-23 15:12:47 +07:00
2025-06-25 17:06:49 -07:00
2026-03-23 08:17:14 -04:00
2025-12-12 06:31:00 +02:00
2026-04-08 17:59:14 +02:00
2025-10-26 21:33:00 -04:00
2026-02-20 10:16:36 +01:00
2026-05-07 11:42:51 +02:00
2026-04-18 15:12:33 +02:00
2025-09-10 16:50:45 -05:00
2025-05-12 15:33:37 +02:00
2026-03-25 11:40:27 +07:00
2025-08-01 08:55:50 +03:00
2026-01-29 11:12:54 -08:00
2025-08-20 20:31:33 -04:00