File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1277,7 +1277,7 @@ impl char {
12771277///
12781278/// [`to_ascii_uppercase()`]: #method.to_ascii_uppercase
12791279#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1280- #[ rustc_const_unstable( feature = "const_char_make_ascii " , issue = "130698" ) ]
1280+ #[ rustc_const_unstable( feature = "const_make_ascii " , issue = "130698" ) ]
12811281#[ inline]
12821282pub const fn make_ascii_uppercase ( & mut self ) {
12831283* self = self . to_ascii_uppercase ( ) ;
@@ -1303,7 +1303,7 @@ impl char {
13031303///
13041304/// [`to_ascii_lowercase()`]: #method.to_ascii_lowercase
13051305#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1306- #[ rustc_const_unstable( feature = "const_char_make_ascii " , issue = "130698" ) ]
1306+ #[ rustc_const_unstable( feature = "const_make_ascii " , issue = "130698" ) ]
13071307#[ inline]
13081308pub const fn make_ascii_lowercase ( & mut self ) {
13091309* self = self . to_ascii_lowercase ( ) ;
Original file line number Diff line number Diff line change @@ -614,8 +614,9 @@ impl u8 {
614614///
615615/// [`to_ascii_uppercase`]: Self::to_ascii_uppercase
616616#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
617+ #[ rustc_const_unstable( feature = "const_make_ascii" , issue = "130698" ) ]
617618#[ inline]
618- pub fn make_ascii_uppercase ( & mut self ) {
619+ pub const fn make_ascii_uppercase ( & mut self ) {
619620* self = self . to_ascii_uppercase ( ) ;
620621}
621622
@@ -639,8 +640,9 @@ impl u8 {
639640///
640641/// [`to_ascii_lowercase`]: Self::to_ascii_lowercase
641642#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
643+ #[ rustc_const_unstable( feature = "const_make_ascii" , issue = "130698" ) ]
642644#[ inline]
643- pub fn make_ascii_lowercase ( & mut self ) {
645+ pub const fn make_ascii_lowercase ( & mut self ) {
644646* self = self . to_ascii_lowercase ( ) ;
645647}
646648
You can’t perform that action at this time.
0 commit comments