@@ -361,7 +361,7 @@ impl str {
361
361
/// ```
362
362
#[ must_use]
363
363
#[ stable( feature = "is_char_boundary" , since = "1.9.0" ) ]
364
- #[ rustc_const_unstable ( feature = "const_is_char_boundary" , issue = "131516 " ) ]
364
+ #[ rustc_const_stable ( feature = "const_is_char_boundary" , since = "CURRENT_RUSTC_VERSION " ) ]
365
365
#[ inline]
366
366
pub const fn is_char_boundary ( & self , index : usize ) -> bool {
367
367
// 0 is always ok.
@@ -818,7 +818,7 @@ impl str {
818
818
#[ inline]
819
819
#[ must_use]
820
820
#[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
821
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
821
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
822
822
pub const fn split_at ( & self , mid : usize ) -> ( & str , & str ) {
823
823
match self . split_at_checked ( mid) {
824
824
None => slice_error_fail ( self , 0 , mid) ,
@@ -859,7 +859,7 @@ impl str {
859
859
#[ inline]
860
860
#[ must_use]
861
861
#[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
862
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
862
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
863
863
pub const fn split_at_mut ( & mut self , mid : usize ) -> ( & mut str , & mut str ) {
864
864
// is_char_boundary checks that the index is in [0, .len()]
865
865
if self . is_char_boundary ( mid) {
@@ -899,7 +899,7 @@ impl str {
899
899
#[ inline]
900
900
#[ must_use]
901
901
#[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
902
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
902
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
903
903
pub const fn split_at_checked ( & self , mid : usize ) -> Option < ( & str , & str ) > {
904
904
// is_char_boundary checks that the index is in [0, .len()]
905
905
if self . is_char_boundary ( mid) {
@@ -940,7 +940,7 @@ impl str {
940
940
#[ inline]
941
941
#[ must_use]
942
942
#[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
943
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
943
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
944
944
pub const fn split_at_mut_checked ( & mut self , mid : usize ) -> Option < ( & mut str , & mut str ) > {
945
945
// is_char_boundary checks that the index is in [0, .len()]
946
946
if self . is_char_boundary ( mid) {
0 commit comments