Skip to content

Commit

Permalink
Auto merge of #130697 - bjoernager:const-char-make-ascii, r=dtolnay
Browse files Browse the repository at this point in the history
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`](rust-lang/rust#57349), this simply requires adding the `const` specifier to the function signatures.
  • Loading branch information
bors committed Sep 22, 2024
2 parents 9cf9e72 + 1197206 commit 2ebdcbf
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 2ebdcbf

Please sign in to comment.