@@ -2078,7 +2078,7 @@ impl str {
2078
2078
/// assert!(ascii.is_ascii());
2079
2079
/// assert!(!non_ascii.is_ascii());
2080
2080
/// ```
2081
- #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21 .0" ) ]
2081
+ #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23 .0" ) ]
2082
2082
#[ inline]
2083
2083
pub fn is_ascii ( & self ) -> bool {
2084
2084
// We can treat each byte as character here: all multibyte characters
@@ -2108,7 +2108,7 @@ impl str {
2108
2108
///
2109
2109
/// [`make_ascii_uppercase`]: #method.make_ascii_uppercase
2110
2110
/// [`to_uppercase`]: #method.to_uppercase
2111
- #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21 .0" ) ]
2111
+ #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23 .0" ) ]
2112
2112
#[ inline]
2113
2113
pub fn to_ascii_uppercase ( & self ) -> String {
2114
2114
let mut bytes = self . as_bytes ( ) . to_vec ( ) ;
@@ -2138,7 +2138,7 @@ impl str {
2138
2138
///
2139
2139
/// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
2140
2140
/// [`to_lowercase`]: #method.to_lowercase
2141
- #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21 .0" ) ]
2141
+ #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23 .0" ) ]
2142
2142
#[ inline]
2143
2143
pub fn to_ascii_lowercase ( & self ) -> String {
2144
2144
let mut bytes = self . as_bytes ( ) . to_vec ( ) ;
@@ -2159,7 +2159,7 @@ impl str {
2159
2159
/// assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
2160
2160
/// assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
2161
2161
/// ```
2162
- #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21 .0" ) ]
2162
+ #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23 .0" ) ]
2163
2163
#[ inline]
2164
2164
pub fn eq_ignore_ascii_case ( & self , other : & str ) -> bool {
2165
2165
self . as_bytes ( ) . eq_ignore_ascii_case ( other. as_bytes ( ) )
@@ -2174,7 +2174,7 @@ impl str {
2174
2174
/// [`to_ascii_uppercase`].
2175
2175
///
2176
2176
/// [`to_ascii_uppercase`]: #method.to_ascii_uppercase
2177
- #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21 .0" ) ]
2177
+ #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23 .0" ) ]
2178
2178
pub fn make_ascii_uppercase ( & mut self ) {
2179
2179
let me = unsafe { self . as_bytes_mut ( ) } ;
2180
2180
me. make_ascii_uppercase ( )
@@ -2189,7 +2189,7 @@ impl str {
2189
2189
/// [`to_ascii_lowercase`].
2190
2190
///
2191
2191
/// [`to_ascii_lowercase`]: #method.to_ascii_lowercase
2192
- #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21 .0" ) ]
2192
+ #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23 .0" ) ]
2193
2193
pub fn make_ascii_lowercase ( & mut self ) {
2194
2194
let me = unsafe { self . as_bytes_mut ( ) } ;
2195
2195
me. make_ascii_lowercase ( )
0 commit comments