rust/library
Matthias Krüger 642cd65ab2
Rollup merge of #140957 - JulianKnodt:array_must_use, r=Mark-Simulacrum
Add `#[must_use]` to Array::map

The output of Array::map is intended to be an array of the same size, and does not modify the original in place nor is it intended for side-effects. Thus, under normal circumstances it should be consumed.

See [discussion](https://internals.rust-lang.org/t/array-map-annotate-with-must-use/22813/26).

Attaching to tracking issue #75243
2025-05-17 10:33:09 +02:00
..
2025-05-12 15:33:37 +02:00
2025-05-07 13:08:19 +08:00
2025-05-12 15:33:41 +02:00
2025-05-07 13:08:19 +08:00
2025-05-13 11:30:36 +02:00