Open
Description
openedon Oct 27, 2024
Feature gate: #![feature(const_char_is_digit)]
#![feature(const_char_classify)]
This is a tracking issue for supporting char::is_digit
and char::is_whitespace
in const scenarios.
Public API
impl char {
pub const fn is_digit(self, radix: u32) -> bool;
pub const fn is_whitespace(self) -> bool;
}
Steps / History
- Implement is_digit: Support
char::is_digit
in const contexts. #132242 - Implement is_whitespace: make char::is_whitespace unstably const #132500
- Final comment period (FCP)
- Stabilization PR:
Unresolved Questions
- None yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment