Files
rust/library/std/src
Matthias Krüger 24551850a9 Rollup merge of #108531 - Coca162:rustdoc-repeat-const-array, r=thomcc
rustdoc: Show that repeated expression arrays can be made with constant values

The [rust reference](https://doc.rust-lang.org/reference/expressions/array-expr.html) currently says that repeated values for arrays can be constant or `Copy`
> repeat operand is [Copy](https://doc.rust-lang.org/reference/special-types-and-traits.html#copy) or that it must be a [path](https://doc.rust-lang.org/reference/expressions/path-expr.html) to a constant item

This updates the rust documentation on primitive arrays to reflect what the rust reference says (and also compiler suggestions if you do not use a `const` item)
2023-03-01 01:20:23 +01:00
..
2022-08-01 20:10:40 +00:00
2022-11-17 12:50:33 -08:00
2022-11-17 12:50:33 -08:00
2023-02-08 12:35:27 +01:00
2023-02-26 13:50:08 +01:00
2022-08-18 18:07:39 -04:00
2022-12-28 09:18:43 -05:00
2022-04-14 01:33:13 -04:00
2022-09-26 10:14:45 +02:00
2023-02-20 23:44:21 +01:00
2022-12-31 15:32:09 +05:30
2022-12-28 09:18:43 -05:00