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 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_convert) ]  
Original file line number Diff line number Diff line change 1919#![ feature( array_into_iter_constructors) ]  
2020#![ feature( assert_matches) ]  
2121#![ feature( char_internals) ]  
22- #![ feature( char_max_len) ]  
2322#![ feature( core_intrinsics) ]  
2423#![ feature( exact_size_is_empty) ]  
2524#![ feature( extend_one) ]  
Original file line number Diff line number Diff line change 33#![ feature( iter_array_chunks) ]  
44#![ feature( assert_matches) ]  
55#![ feature( wtf8_internals) ]  
6- #![ feature( char_max_len) ]  
76#![ feature( cow_is_borrowed) ]  
87#![ feature( core_intrinsics) ]  
98#![ 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 1414#![ feature( bstr) ]  
1515#![ feature( cfg_target_has_reliable_f16_f128) ]  
1616#![ feature( char_internals) ]  
17- #![ feature( char_max_len) ]  
1817#![ feature( clone_to_uninit) ]  
1918#![ feature( const_cmp) ]  
2019#![ feature( const_convert) ]  
Original file line number Diff line number Diff line change 279279#![ feature( cfg_sanitizer_cfi) ]  
280280#![ feature( cfg_target_thread_local) ]  
281281#![ feature( cfi_encoding) ]  
282- #![ feature( char_max_len) ]  
283282#![ feature( const_trait_impl) ]  
284283#![ feature( core_float_math) ]  
285284#![ feature( decl_macro) ]  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments