We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f168e commit 98dc15fCopy full SHA for 98dc15f
library/core/src/char/methods.rs
@@ -337,7 +337,7 @@ impl char {
337
/// '1'.is_digit(1);
338
/// ```
339
#[stable(feature = "rust1", since = "1.0.0")]
340
- #[rustc_const_unstable(feature = "const_char_classify", issue = "132241")]
+ #[rustc_const_stable(feature = "const_char_classify", since = "CURRENT_RUSTC_VERSION")]
341
#[inline]
342
pub const fn is_digit(self, radix: u32) -> bool {
343
self.to_digit(radix).is_some()
@@ -886,7 +886,7 @@ impl char {
886
887
#[must_use]
888
889
890
891
pub const fn is_whitespace(self) -> bool {
892
match self {
0 commit comments