@@ -354,7 +354,7 @@ impl str {
354354 /// ```
355355 #[ must_use]
356356 #[ stable( feature = "is_char_boundary" , since = "1.9.0" ) ]
357- #[ rustc_const_stable( feature = "const_is_char_boundary" , since = "CURRENT_RUSTC_VERSION " ) ]
357+ #[ rustc_const_stable( feature = "const_is_char_boundary" , since = "1.86.0 " ) ]
358358 #[ inline]
359359 pub const fn is_char_boundary ( & self , index : usize ) -> bool {
360360 // 0 is always ok.
@@ -811,7 +811,7 @@ impl str {
811811 #[ inline]
812812 #[ must_use]
813813 #[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
814- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
814+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
815815 pub const fn split_at ( & self , mid : usize ) -> ( & str , & str ) {
816816 match self . split_at_checked ( mid) {
817817 None => slice_error_fail ( self , 0 , mid) ,
@@ -852,7 +852,7 @@ impl str {
852852 #[ inline]
853853 #[ must_use]
854854 #[ stable( feature = "str_split_at" , since = "1.4.0" ) ]
855- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
855+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
856856 pub const fn split_at_mut ( & mut self , mid : usize ) -> ( & mut str , & mut str ) {
857857 // is_char_boundary checks that the index is in [0, .len()]
858858 if self . is_char_boundary ( mid) {
@@ -892,7 +892,7 @@ impl str {
892892 #[ inline]
893893 #[ must_use]
894894 #[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
895- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
895+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
896896 pub const fn split_at_checked ( & self , mid : usize ) -> Option < ( & str , & str ) > {
897897 // is_char_boundary checks that the index is in [0, .len()]
898898 if self . is_char_boundary ( mid) {
@@ -933,7 +933,7 @@ impl str {
933933 #[ inline]
934934 #[ must_use]
935935 #[ stable( feature = "split_at_checked" , since = "1.80.0" ) ]
936- #[ rustc_const_stable( feature = "const_str_split_at" , since = "CURRENT_RUSTC_VERSION " ) ]
936+ #[ rustc_const_stable( feature = "const_str_split_at" , since = "1.86.0 " ) ]
937937 pub const fn split_at_mut_checked ( & mut self , mid : usize ) -> Option < ( & mut str , & mut str ) > {
938938 // is_char_boundary checks that the index is in [0, .len()]
939939 if self . is_char_boundary ( mid) {
0 commit comments