summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-22 13:55:07 +0000
committerbors <bors@rust-lang.org>2024-09-22 13:55:07 +0000
commit0af7f0f4c4bdec179f42d0db4ec322040582de9d (patch)
treeed89d4ddf726a6d556fbab5a2b5a2916e678fc28 /compiler/rustc_pattern_analysis
parent4ae36d906f7f509e63aaa7ea99fdbefd1463eb96 (diff)
parentbe9b3b459a0012fc83078ec4e5302b6153ceeeba (diff)
downloadrust-0af7f0f4c4bdec179f42d0db4ec322040582de9d.tar.gz
rust-0af7f0f4c4bdec179f42d0db4ec322040582de9d.zip
Auto merge of #130697 - bjoernager:const-char-make-ascii, r=dtolnay
Mark `char::make_ascii_uppercase` and `char::make_ascii_lowercase` as const.

Relevant tracking issue: #130698

The `make_ascii_uppercase` and `make_ascii_lowercase` methods in `char` should be marked "const."

With the stabilisation of [`const_mut_refs`](https://github.com/rust-lang/rust/issues/57349/), this simply requires adding the `const` specifier to the function signatures.
Diffstat (limited to 'compiler/rustc_pattern_analysis')
0 files changed, 0 insertions, 0 deletions