@@ -569,7 +569,7 @@ impl char {
569
569
/// assert_eq!(len, tokyo.len());
570
570
/// ```
571
571
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
572
- #[ rustc_const_stable( feature = "const_char_len_utf" , since = "1.50 .0" ) ]
572
+ #[ rustc_const_stable( feature = "const_char_len_utf" , since = "1.52 .0" ) ]
573
573
#[ inline]
574
574
pub const fn len_utf8 ( self ) -> usize {
575
575
len_utf8 ( self as u32 )
@@ -595,7 +595,7 @@ impl char {
595
595
/// assert_eq!(len, 2);
596
596
/// ```
597
597
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
598
- #[ rustc_const_stable( feature = "const_char_len_utf" , since = "1.50 .0" ) ]
598
+ #[ rustc_const_stable( feature = "const_char_len_utf" , since = "1.52 .0" ) ]
599
599
#[ inline]
600
600
pub const fn len_utf16 ( self ) -> usize {
601
601
let ch = self as u32 ;
@@ -1088,7 +1088,7 @@ impl char {
1088
1088
/// [`make_ascii_uppercase()`]: #method.make_ascii_uppercase
1089
1089
/// [`to_uppercase()`]: #method.to_uppercase
1090
1090
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1091
- #[ rustc_const_stable( feature = "const_ascii_methods_on_intrinsics" , since = "1.50 .0" ) ]
1091
+ #[ rustc_const_stable( feature = "const_ascii_methods_on_intrinsics" , since = "1.52 .0" ) ]
1092
1092
#[ inline]
1093
1093
pub const fn to_ascii_uppercase ( & self ) -> char {
1094
1094
if self . is_ascii_lowercase ( ) {
@@ -1121,7 +1121,7 @@ impl char {
1121
1121
/// [`make_ascii_lowercase()`]: #method.make_ascii_lowercase
1122
1122
/// [`to_lowercase()`]: #method.to_lowercase
1123
1123
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1124
- #[ rustc_const_stable( feature = "const_ascii_methods_on_intrinsics" , since = "1.50 .0" ) ]
1124
+ #[ rustc_const_stable( feature = "const_ascii_methods_on_intrinsics" , since = "1.52 .0" ) ]
1125
1125
#[ inline]
1126
1126
pub const fn to_ascii_lowercase ( & self ) -> char {
1127
1127
if self . is_ascii_uppercase ( ) {
@@ -1147,7 +1147,7 @@ impl char {
1147
1147
/// assert!(!upper_a.eq_ignore_ascii_case(&lower_z));
1148
1148
/// ```
1149
1149
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1150
- #[ rustc_const_stable( feature = "const_ascii_methods_on_intrinsics" , since = "1.50 .0" ) ]
1150
+ #[ rustc_const_stable( feature = "const_ascii_methods_on_intrinsics" , since = "1.52 .0" ) ]
1151
1151
#[ inline]
1152
1152
pub const fn eq_ignore_ascii_case ( & self , other : & char ) -> bool {
1153
1153
self . to_ascii_lowercase ( ) == other. to_ascii_lowercase ( )
0 commit comments