@@ -18,15 +18,15 @@ impl char {
18
18
///
19
19
/// [Unicode Scalar Value]: http://www.unicode.org/glossary/#unicode_scalar_value
20
20
/// [Code Point]: http://www.unicode.org/glossary/#code_point
21
- #[ unstable ( feature = "assoc_char_consts" , reason = "recently added" , issue = "71763 ") ]
21
+ #[ stable ( feature = "assoc_char_consts" , since = "1.52.0 " ) ]
22
22
pub const MAX : char = '\u{10ffff}' ;
23
23
24
24
/// `U+FFFD REPLACEMENT CHARACTER` (�) is used in Unicode to represent a
25
25
/// decoding error.
26
26
///
27
27
/// It can occur, for example, when giving ill-formed UTF-8 bytes to
28
28
/// [`String::from_utf8_lossy`](string/struct.String.html#method.from_utf8_lossy).
29
- #[ unstable ( feature = "assoc_char_consts" , reason = "recently added" , issue = "71763 ") ]
29
+ #[ stable ( feature = "assoc_char_consts" , since = "1.52.0 " ) ]
30
30
pub const REPLACEMENT_CHARACTER : char = '\u{FFFD}' ;
31
31
32
32
/// The version of [Unicode](http://www.unicode.org/) that the Unicode parts of
@@ -39,7 +39,7 @@ impl char {
39
39
///
40
40
/// The version numbering scheme is explained in
41
41
/// [Unicode 11.0 or later, Section 3.1 Versions of the Unicode Standard](https://www.unicode.org/versions/Unicode11.0.0/ch03.pdf#page=4).
42
- #[ unstable ( feature = "assoc_char_consts" , reason = "recently added" , issue = "71763 ") ]
42
+ #[ stable ( feature = "assoc_char_consts" , since = "1.52.0 " ) ]
43
43
pub const UNICODE_VERSION : ( u8 , u8 , u8 ) = crate :: unicode:: UNICODE_VERSION ;
44
44
45
45
/// Creates an iterator over the UTF-16 encoded code points in `iter`,
@@ -88,7 +88,7 @@ impl char {
88
88
/// "𝄞mus�ic�"
89
89
/// );
90
90
/// ```
91
- #[ unstable ( feature = "assoc_char_funcs" , reason = "recently added" , issue = "71763 ") ]
91
+ #[ stable ( feature = "assoc_char_funcs" , since = "1.52.0 " ) ]
92
92
#[ inline]
93
93
pub fn decode_utf16 < I : IntoIterator < Item = u16 > > ( iter : I ) -> DecodeUtf16 < I :: IntoIter > {
94
94
super :: decode:: decode_utf16 ( iter)
@@ -136,7 +136,7 @@ impl char {
136
136
///
137
137
/// assert_eq!(None, c);
138
138
/// ```
139
- #[ unstable ( feature = "assoc_char_funcs" , reason = "recently added" , issue = "71763 ") ]
139
+ #[ stable ( feature = "assoc_char_funcs" , since = "1.52.0 " ) ]
140
140
#[ inline]
141
141
pub fn from_u32 ( i : u32 ) -> Option < char > {
142
142
super :: convert:: from_u32 ( i)
@@ -177,7 +177,7 @@ impl char {
177
177
///
178
178
/// assert_eq!('❤', c);
179
179
/// ```
180
- #[ unstable ( feature = "assoc_char_funcs" , reason = "recently added" , issue = "71763 ") ]
180
+ #[ stable ( feature = "assoc_char_funcs" , since = "1.52.0 " ) ]
181
181
#[ inline]
182
182
pub unsafe fn from_u32_unchecked ( i : u32 ) -> char {
183
183
// SAFETY: the safety contract must be upheld by the caller.
@@ -233,7 +233,7 @@ impl char {
233
233
/// // this panics
234
234
/// char::from_digit(1, 37);
235
235
/// ```
236
- #[ unstable ( feature = "assoc_char_funcs" , reason = "recently added" , issue = "71763 ") ]
236
+ #[ stable ( feature = "assoc_char_funcs" , since = "1.52.0 " ) ]
237
237
#[ inline]
238
238
pub fn from_digit ( num : u32 , radix : u32 ) -> Option < char > {
239
239
super :: convert:: from_digit ( num, radix)
0 commit comments