diff options
| author | bors <bors@rust-lang.org> | 2024-09-24 08:52:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-24 08:52:12 +0000 |
| commit | 11e760b7f4e4aaa11bf51a64d4bb7f1171f6e466 (patch) | |
| tree | 3e2913d0d6d27a2cfdb899db4801f18364d4cd38 /compiler/rustc_hir_analysis/src/coherence/mod.rs | |
| parent | 4cadeda932d5c261a9a0b1bbd25c4486e4e0a4c6 (diff) | |
| parent | e723fe1713b9db2ac7e3250ec8efe742cbcd46fe (diff) | |
| download | rust-11e760b7f4e4aaa11bf51a64d4bb7f1171f6e466.tar.gz rust-11e760b7f4e4aaa11bf51a64d4bb7f1171f6e466.zip | |
Auto merge of #130738 - bjoernager:const-make-ascii, r=jhpratt
Mark `make_ascii_uppercase` and `make_ascii_lowercase` in `[u8]` and `str` as const. Relevant tracking issue: #130698 This PR extends #130697 and #130713 to the similar methods in byte slices (`[u8]`) and string slices (`str`). For the `str` methods, this simply requires adding the `const` specifier to the function signatures. The `[u8]` methods, however, require (at least a temporary) reimplementation due to the use of iterators and `for` loops.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/coherence/mod.rs')
0 files changed, 0 insertions, 0 deletions
