@@ -68,15 +68,14 @@ impl [u8] {
6868  /// # Examples 
6969  /// 
7070  /// ``` 
71-   /// #![feature(inherent_ascii_escape)] 
7271  /// 
7372  /// let s = b"0\t\r\n'\"\\\x9d"; 
7473  /// let escaped = s.escape_ascii().to_string(); 
7574  /// assert_eq!(escaped, "0\\t\\r\\n\\'\\\"\\\\\\x9d"); 
7675  /// ``` 
7776  #[ must_use = "this returns the escaped bytes as an iterator, \   
7877  without modifying the original"] 
79-  #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
78+  #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
8079 pub  fn  escape_ascii ( & self )  -> EscapeAscii < ' _ >  { 
8180 EscapeAscii  {  inner :  self . iter ( ) . flat_map ( EscapeByte )  } 
8281 } 
@@ -93,13 +92,13 @@ impl_fn_for_zst! {
9392/// 
9493/// This `struct` is created by the [`slice::escape_ascii`] method. See its 
9594/// documentation for more information. 
96- #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
95+ #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
9796#[ derive( Clone ) ]  
9897pub  struct  EscapeAscii < ' a >  { 
9998 inner :  iter:: FlatMap < super :: Iter < ' a ,  u8 > ,  ascii:: EscapeDefault ,  EscapeByte > , 
10099} 
101100
102- #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
101+ #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
103102impl < ' a >  iter:: Iterator  for  EscapeAscii < ' a >  { 
104103 type  Item  = u8 ; 
105104 #[ inline]  
@@ -131,23 +130,23 @@ impl<'a> iter::Iterator for EscapeAscii<'a> {
131130 } 
132131} 
133132
134- #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
133+ #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
135134impl < ' a >  iter:: DoubleEndedIterator  for  EscapeAscii < ' a >  { 
136135 fn  next_back ( & mut  self )  -> Option < u8 >  { 
137136 self . inner . next_back ( ) 
138137 } 
139138} 
140- #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
139+ #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
141140impl < ' a >  iter:: ExactSizeIterator  for  EscapeAscii < ' a >  { } 
142- #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
141+ #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
143142impl < ' a >  iter:: FusedIterator  for  EscapeAscii < ' a >  { } 
144- #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
143+ #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
145144impl < ' a >  fmt:: Display  for  EscapeAscii < ' a >  { 
146145 fn  fmt ( & self ,  f :  & mut  fmt:: Formatter < ' _ > )  -> fmt:: Result  { 
147146 self . clone ( ) . try_for_each ( |b| f. write_char ( b as  char ) ) 
148147 } 
149148} 
150- #[ unstable ( feature = "inherent_ascii_escape" ,  issue  = "77174 " ) ]  
149+ #[ stable ( feature = "inherent_ascii_escape" ,  since  = "1.60.0 " ) ]  
151150impl < ' a >  fmt:: Debug  for  EscapeAscii < ' a >  { 
152151 fn  fmt ( & self ,  f :  & mut  fmt:: Formatter < ' _ > )  -> fmt:: Result  { 
153152 f. debug_struct ( "EscapeAscii" ) . finish_non_exhaustive ( ) 
0 commit comments