@@ -185,7 +185,7 @@ impl str {
185
185
/// ```
186
186
#[ must_use]
187
187
#[ stable( feature = "is_char_boundary" , since = "1.9.0" ) ]
188
- #[ rustc_const_unstable ( feature = "const_is_char_boundary" , issue = "131516 " ) ]
188
+ #[ rustc_const_stable ( feature = "const_is_char_boundary" , since = "CURRENT_RUSTC_VERSION " ) ]
189
189
#[ inline]
190
190
pub const fn is_char_boundary ( & self , index : usize ) -> bool {
191
191
// 0 is always ok.
@@ -642,7 +642,7 @@ impl str {
642
642
#[ inline]
643
643
#[ must_use]
644
644
#[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
645
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
645
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
646
646
pub const fn split_at ( & self , mid : usize ) -> ( & str , & str ) {
647
647
match self . split_at_checked ( mid) {
648
648
None => slice_error_fail ( self , 0 , mid) ,
@@ -683,7 +683,7 @@ impl str {
683
683
#[ inline]
684
684
#[ must_use]
685
685
#[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
686
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
686
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
687
687
pub const fn split_at_mut ( & mut self , mid : usize ) -> ( & mut str , & mut str ) {
688
688
// is_char_boundary checks that the index is in [0, .len()]
689
689
if self . is_char_boundary ( mid) {
@@ -723,7 +723,7 @@ impl str {
723
723
#[ inline]
724
724
#[ must_use]
725
725
#[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
726
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
726
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
727
727
pub const fn split_at_checked ( & self , mid : usize ) -> Option < ( & str , & str ) > {
728
728
// is_char_boundary checks that the index is in [0, .len()]
729
729
if self . is_char_boundary ( mid) {
@@ -764,7 +764,7 @@ impl str {
764
764
#[ inline]
765
765
#[ must_use]
766
766
#[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
767
- #[ rustc_const_unstable ( feature = "const_str_split_at" , issue = "131518 " ) ]
767
+ #[ rustc_const_stable ( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
768
768
pub const fn split_at_mut_checked ( & mut self , mid : usize ) -> Option < ( & mut str , & mut str ) > {
769
769
// is_char_boundary checks that the index is in [0, .len()]
770
770
if self . is_char_boundary ( mid) {
0 commit comments