rust/library/core
Jonathan Brouwer c33bd8aa53
Rollup merge of #126100 - scottmcm:decaveat-map, r=Mark-Simulacrum
Reword the caveats on `array::map`

Thanks to #107634 and some improvements in LLVM (particularly [`dead_on_unwind`](https://llvm.org/docs/LangRef.html#parameter-attributes)), the method actually optimizes reasonably well now.

So focus the discussion on the fundamental ordering differences where the optimizer might never be able to fix it because of the different behaviour, and keep encouraging `Iterator::map` where an array wasn't actually ever needed.
2026-02-08 21:06:29 +01:00
..
src Rollup merge of #126100 - scottmcm:decaveat-map, r=Mark-Simulacrum 2026-02-08 21:06:29 +01:00
Cargo.toml add autodiff examples 2025-11-16 23:35:37 -05:00