about summary refs log tree commit diff
path: root/library/core/src/char
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2022-03-26 19:43:11 -0700
committerDavid Tolnay <dtolnay@gmail.com>2022-03-31 12:34:48 -0700
commit4246916619e98b5e2c5f5abd21caacfdd392ec71 (patch)
tree0405bccbbe1d2e179cc7a905ece59a6ba90dd42e /library/core/src/char
parent5d30180634080dd761db77afc748dfd58e192a1d (diff)
downloadrust-4246916619e98b5e2c5f5abd21caacfdd392ec71.tar.gz
rust-4246916619e98b5e2c5f5abd21caacfdd392ec71.zip
Adjust feature names that disagree on const stabilization version
Diffstat (limited to 'library/core/src/char')
-rw-r--r--library/core/src/char/methods.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/char/methods.rs b/library/core/src/char/methods.rs
index 7deb3358c95..3195205b1b6 100644
--- a/library/core/src/char/methods.rs
+++ b/library/core/src/char/methods.rs
@@ -1092,7 +1092,7 @@ impl char {
     /// ```
     #[must_use]
     #[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
-    #[rustc_const_stable(feature = "const_ascii_methods_on_intrinsics", since = "1.32.0")]
+    #[rustc_const_stable(feature = "const_char_is_ascii", since = "1.32.0")]
     #[inline]
     pub const fn is_ascii(&self) -> bool {
         *self as u32 <= 0x7F