File tree Expand file tree Collapse file tree 6 files changed +4
-8
lines changed Expand file tree Collapse file tree 6 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 104104#![ feature( bstr_internals) ]
105105#![ feature( cast_maybe_uninit) ]
106106#![ feature( char_internals) ]
107- #![ feature( char_max_len) ]
108107#![ feature( clone_to_uninit) ]
109108#![ feature( coerce_unsized) ]
110109#![ feature( const_default) ]
Original file line number Diff line number Diff line change 44#![ feature( assert_matches) ]
55#![ feature( btree_extract_if) ]
66#![ feature( wtf8_internals) ]
7- #![ feature( char_max_len) ]
87#![ feature( cow_is_borrowed) ]
98#![ feature( core_intrinsics) ]
109#![ feature( downcast_unchecked) ]
Original file line number Diff line number Diff line change @@ -74,12 +74,12 @@ impl char {
7474
7575 /// The maximum number of bytes required to [encode](char::encode_utf8) a `char` to
7676 /// UTF-8 encoding.
77- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
77+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
7878 pub const MAX_LEN_UTF8 : usize = 4 ;
7979
8080 /// The maximum number of two-byte units required to [encode](char::encode_utf16) a `char`
8181 /// to UTF-16 encoding.
82- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
82+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
8383 pub const MAX_LEN_UTF16 : usize = 2 ;
8484
8585 /// `U+FFFD REPLACEMENT CHARACTER` (�) is used in Unicode to represent a
Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ pub const MAX: char = char::MAX;
9797
9898/// The maximum number of bytes required to [encode](char::encode_utf8) a `char` to
9999/// UTF-8 encoding.
100- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
100+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
101101pub const MAX_LEN_UTF8 : usize = char:: MAX_LEN_UTF8 ;
102102
103103/// The maximum number of two-byte units required to [encode](char::encode_utf16) a `char`
104104/// to UTF-16 encoding.
105- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
105+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
106106pub const MAX_LEN_UTF16 : usize = char:: MAX_LEN_UTF16 ;
107107
108108/// `U+FFFD REPLACEMENT CHARACTER` (�) is used in Unicode to represent a
Original file line number Diff line number Diff line change 1313#![ feature( bool_to_result) ]
1414#![ feature( bstr) ]
1515#![ feature( cfg_target_has_reliable_f16_f128) ]
16- #![ feature( char_max_len) ]
1716#![ feature( clone_to_uninit) ]
1817#![ feature( const_deref) ]
1918#![ feature( const_destruct) ]
Original file line number Diff line number Diff line change 280280#![ feature( cfg_sanitizer_cfi) ]
281281#![ feature( cfg_target_thread_local) ]
282282#![ feature( cfi_encoding) ]
283- #![ feature( char_max_len) ]
284283#![ feature( const_trait_impl) ]
285284#![ feature( core_float_math) ]
286285#![ feature( decl_macro) ]
You can’t perform that action at this time.
0 commit comments