@@ -179,7 +179,7 @@ impl OsString {
179179 ///
180180 /// [conversions]: super#conversions
181181 #[ inline]
182- #[ stable( feature = "os_str_bytes" , since = "CURRENT_RUSTC_VERSION " ) ]
182+ #[ stable( feature = "os_str_bytes" , since = "1.74.0 " ) ]
183183 pub unsafe fn from_encoded_bytes_unchecked ( bytes : Vec < u8 > ) -> Self {
184184 OsString { inner : Buf :: from_encoded_bytes_unchecked ( bytes) }
185185 }
@@ -217,7 +217,7 @@ impl OsString {
217217 ///
218218 /// [`std::ffi`]: crate::ffi
219219 #[ inline]
220- #[ stable( feature = "os_str_bytes" , since = "CURRENT_RUSTC_VERSION " ) ]
220+ #[ stable( feature = "os_str_bytes" , since = "1.74.0 " ) ]
221221 pub fn into_encoded_bytes ( self ) -> Vec < u8 > {
222222 self . inner . into_encoded_bytes ( )
223223 }
@@ -768,7 +768,7 @@ impl OsStr {
768768 ///
769769 /// [conversions]: super#conversions
770770 #[ inline]
771- #[ stable( feature = "os_str_bytes" , since = "CURRENT_RUSTC_VERSION " ) ]
771+ #[ stable( feature = "os_str_bytes" , since = "1.74.0 " ) ]
772772 pub unsafe fn from_encoded_bytes_unchecked ( bytes : & [ u8 ] ) -> & Self {
773773 Self :: from_inner ( Slice :: from_encoded_bytes_unchecked ( bytes) )
774774 }
@@ -958,7 +958,7 @@ impl OsStr {
958958 ///
959959 /// [`std::ffi`]: crate::ffi
960960 #[ inline]
961- #[ stable( feature = "os_str_bytes" , since = "CURRENT_RUSTC_VERSION " ) ]
961+ #[ stable( feature = "os_str_bytes" , since = "1.74.0 " ) ]
962962 pub fn as_encoded_bytes ( & self ) -> & [ u8 ] {
963963 self . inner . as_encoded_bytes ( )
964964 }
0 commit comments