File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1277,8 +1277,9 @@ impl char {
1277
1277
///
1278
1278
/// [`to_ascii_uppercase()`]: #method.to_ascii_uppercase
1279
1279
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1280
+ #[ rustc_const_unstable( feature = "const_char_make_ascii" , issue = "130698" ) ]
1280
1281
#[ inline]
1281
- pub fn make_ascii_uppercase ( & mut self ) {
1282
+ pub const fn make_ascii_uppercase ( & mut self ) {
1282
1283
* self = self . to_ascii_uppercase ( ) ;
1283
1284
}
1284
1285
@@ -1302,8 +1303,9 @@ impl char {
1302
1303
///
1303
1304
/// [`to_ascii_lowercase()`]: #method.to_ascii_lowercase
1304
1305
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1306
+ #[ rustc_const_unstable( feature = "const_char_make_ascii" , issue = "130698" ) ]
1305
1307
#[ inline]
1306
- pub fn make_ascii_lowercase ( & mut self ) {
1308
+ pub const fn make_ascii_lowercase ( & mut self ) {
1307
1309
* self = self . to_ascii_lowercase ( ) ;
1308
1310
}
1309
1311
You can’t perform that action at this time.
0 commit comments