File tree Expand file tree Collapse file tree 7 files changed +4
-9
lines changed Expand file tree Collapse file tree 7 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 104
104
#![ feature( bstr_internals) ]
105
105
#![ feature( cast_maybe_uninit) ]
106
106
#![ feature( char_internals) ]
107
- #![ feature( char_max_len) ]
108
107
#![ feature( clone_to_uninit) ]
109
108
#![ feature( coerce_unsized) ]
110
109
#![ feature( const_convert) ]
Original file line number Diff line number Diff line change 19
19
#![ feature( array_into_iter_constructors) ]
20
20
#![ feature( assert_matches) ]
21
21
#![ feature( char_internals) ]
22
- #![ feature( char_max_len) ]
23
22
#![ feature( core_intrinsics) ]
24
23
#![ feature( exact_size_is_empty) ]
25
24
#![ feature( extend_one) ]
Original file line number Diff line number Diff line change 3
3
#![ feature( iter_array_chunks) ]
4
4
#![ feature( assert_matches) ]
5
5
#![ feature( wtf8_internals) ]
6
- #![ feature( char_max_len) ]
7
6
#![ feature( cow_is_borrowed) ]
8
7
#![ feature( core_intrinsics) ]
9
8
#![ feature( downcast_unchecked) ]
Original file line number Diff line number Diff line change @@ -74,12 +74,12 @@ impl char {
74
74
75
75
/// The maximum number of bytes required to [encode](char::encode_utf8) a `char` to
76
76
/// UTF-8 encoding.
77
- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
77
+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
78
78
pub const MAX_LEN_UTF8 : usize = 4 ;
79
79
80
80
/// The maximum number of two-byte units required to [encode](char::encode_utf16) a `char`
81
81
/// to UTF-16 encoding.
82
- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
82
+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
83
83
pub const MAX_LEN_UTF16 : usize = 2 ;
84
84
85
85
/// `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;
97
97
98
98
/// The maximum number of bytes required to [encode](char::encode_utf8) a `char` to
99
99
/// UTF-8 encoding.
100
- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
100
+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
101
101
pub const MAX_LEN_UTF8 : usize = char:: MAX_LEN_UTF8 ;
102
102
103
103
/// The maximum number of two-byte units required to [encode](char::encode_utf16) a `char`
104
104
/// to UTF-16 encoding.
105
- #[ unstable ( feature = "char_max_len" , issue = "121714 " ) ]
105
+ #[ stable ( feature = "char_max_len" , since = "CURRENT_RUSTC_VERSION " ) ]
106
106
pub const MAX_LEN_UTF16 : usize = char:: MAX_LEN_UTF16 ;
107
107
108
108
/// `U+FFFD REPLACEMENT CHARACTER` (�) is used in Unicode to represent a
Original file line number Diff line number Diff line change 14
14
#![ feature( bstr) ]
15
15
#![ feature( cfg_target_has_reliable_f16_f128) ]
16
16
#![ feature( char_internals) ]
17
- #![ feature( char_max_len) ]
18
17
#![ feature( clone_to_uninit) ]
19
18
#![ feature( const_cmp) ]
20
19
#![ feature( const_convert) ]
Original file line number Diff line number Diff line change 279
279
#![ feature( cfg_sanitizer_cfi) ]
280
280
#![ feature( cfg_target_thread_local) ]
281
281
#![ feature( cfi_encoding) ]
282
- #![ feature( char_max_len) ]
283
282
#![ feature( const_trait_impl) ]
284
283
#![ feature( core_float_math) ]
285
284
#![ feature( decl_macro) ]
You can’t perform that action at this time.
0 commit comments