Closed
Description
Feature gate: #![feature(const_unicode_case_lookup)]
This is a tracking issue for making char::is_lowercase
and char::is_uppercase
const.
Public API
- https://doc.rust-lang.org/nightly/core/primitive.char.html#method.is_uppercase
- https://doc.rust-lang.org/nightly/core/primitive.char.html#method.is_lowercase
Example:
const CAPITAL_DELTA_IS_UPPERCASE: bool = 'Δ'.is_uppercase();
Steps / History
- Implementation: Make
char::is_lowercase
andchar::is_uppercase
const #101401 - Final comment period (FCP)1
- Stabilization PR: stabilize const_unicode_case_lookup #132948
Unresolved Questions
- None yet.