diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-11-22 20:32:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-22 20:32:35 +0800 |
| commit | 2e93a759a3abf697f016954e7370bd462d8b12be (patch) | |
| tree | 58de0f8d0b99a52d6784647e72d84275e6ce829a /tests/coverage/branch/lazy-boolean.rs | |
| parent | 9eb67bb25c732824409cf03168baf32c902f3502 (diff) | |
| parent | 7c799c3e0d0c5e34126511467d62e1b654f41d3e (diff) | |
| download | rust-2e93a759a3abf697f016954e7370bd462d8b12be.tar.gz rust-2e93a759a3abf697f016954e7370bd462d8b12be.zip | |
Rollup merge of #133288 - bjoernager:const-array-each-ref, r=jhpratt
Support `each_ref` and `each_mut` in `[T; N]` in constant expressions. Tracking issue: #133289 The methods `<[T; N]>::each_ref` and `<[T; N]>::each_mut` can easily be reimplemented to allow marking them with the `const` specifier. This specific implementation takes a different approach than the original as to avoid using iterators (which are illegal in constant expressions).
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
