@@ -365,7 +365,7 @@ impl str {
365365 /// ```
366366 #[ must_use]
367367 #[ stable( feature = "is_char_boundary" , since = "1.9.0" ) ]
368- #[ rustc_const_stable( feature = "const_is_char_boundary" , since = "CURRENT_RUSTC_VERSION " ) ]
368+ #[ rustc_const_stable( feature = "const_is_char_boundary" , since = "1.86.0 " ) ]
369369 #[ inline]
370370 pub const fn is_char_boundary ( & self , index : usize ) -> bool {
371371 // 0 is always ok.
@@ -822,7 +822,7 @@ impl str {
822822 #[ inline]
823823 #[ must_use]
824824 #[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
825- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
825+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
826826 pub const fn split_at ( & self , mid : usize ) -> ( & str , & str ) {
827827 match self . split_at_checked ( mid) {
828828 None => slice_error_fail ( self , 0 , mid) ,
@@ -863,7 +863,7 @@ impl str {
863863 #[ inline]
864864 #[ must_use]
865865 #[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
866- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
866+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
867867 pub const fn split_at_mut ( & mut self , mid : usize ) -> ( & mut str , & mut str ) {
868868 // is_char_boundary checks that the index is in [0, .len()]
869869 if self . is_char_boundary ( mid) {
@@ -903,7 +903,7 @@ impl str {
903903 #[ inline]
904904 #[ must_use]
905905 #[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
906- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
906+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
907907 pub const fn split_at_checked ( & self , mid : usize ) -> Option < ( & str , & str ) > {
908908 // is_char_boundary checks that the index is in [0, .len()]
909909 if self . is_char_boundary ( mid) {
@@ -944,7 +944,7 @@ impl str {
944944 #[ inline]
945945 #[ must_use]
946946 #[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
947- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
947+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
948948 pub const fn split_at_mut_checked ( & mut self , mid : usize ) -> Option < ( & mut str , & mut str ) > {
949949 // is_char_boundary checks that the index is in [0, .len()]
950950 if self . is_char_boundary ( mid) {
0 commit comments