@@ -2110,7 +2110,6 @@ impl str {
2110
2110
/// [`to_uppercase`]: #method.to_uppercase
2111
2111
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21.0" ) ]
2112
2112
#[ inline]
2113
- #[ cfg( not( stage0) ) ]
2114
2113
pub fn to_ascii_uppercase ( & self ) -> String {
2115
2114
let mut bytes = self . as_bytes ( ) . to_vec ( ) ;
2116
2115
bytes. make_ascii_uppercase ( ) ;
@@ -2141,7 +2140,6 @@ impl str {
2141
2140
/// [`to_lowercase`]: #method.to_lowercase
2142
2141
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21.0" ) ]
2143
2142
#[ inline]
2144
- #[ cfg( not( stage0) ) ]
2145
2143
pub fn to_ascii_lowercase ( & self ) -> String {
2146
2144
let mut bytes = self . as_bytes ( ) . to_vec ( ) ;
2147
2145
bytes. make_ascii_lowercase ( ) ;
@@ -2163,7 +2161,6 @@ impl str {
2163
2161
/// ```
2164
2162
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21.0" ) ]
2165
2163
#[ inline]
2166
- #[ cfg( not( stage0) ) ]
2167
2164
pub fn eq_ignore_ascii_case ( & self , other : & str ) -> bool {
2168
2165
self . as_bytes ( ) . eq_ignore_ascii_case ( other. as_bytes ( ) )
2169
2166
}
@@ -2178,7 +2175,6 @@ impl str {
2178
2175
///
2179
2176
/// [`to_ascii_uppercase`]: #method.to_ascii_uppercase
2180
2177
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21.0" ) ]
2181
- #[ cfg( not( stage0) ) ]
2182
2178
pub fn make_ascii_uppercase ( & mut self ) {
2183
2179
let me = unsafe { self . as_bytes_mut ( ) } ;
2184
2180
me. make_ascii_uppercase ( )
@@ -2194,7 +2190,6 @@ impl str {
2194
2190
///
2195
2191
/// [`to_ascii_lowercase`]: #method.to_ascii_lowercase
2196
2192
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.21.0" ) ]
2197
- #[ cfg( not( stage0) ) ]
2198
2193
pub fn make_ascii_lowercase ( & mut self ) {
2199
2194
let me = unsafe { self . as_bytes_mut ( ) } ;
2200
2195
me. make_ascii_lowercase ( )
0 commit comments