File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ impl CString {
653653 /// unsafe { CString::from_vec_unchecked(b"abc".to_vec()) }
654654 /// );
655655 /// ```
656- #[ stable ( feature = "cstring_from_vec_with_nul" , since = "1.46.0 " ) ]
656+ #[ unstable ( feature = "cstring_from_vec_with_nul" , issue = "73179 " ) ]
657657 pub unsafe fn from_vec_with_nul_unchecked ( v : Vec < u8 > ) -> Self {
658658 Self { inner : v. into_boxed_slice ( ) }
659659 }
@@ -693,7 +693,7 @@ impl CString {
693693 /// ```
694694 ///
695695 /// [`new`]: #method.new
696- #[ stable ( feature = "cstring_from_vec_with_nul" , since = "1.46.0 " ) ]
696+ #[ unstable ( feature = "cstring_from_vec_with_nul" , issue = "73179 " ) ]
697697 pub fn from_vec_with_nul ( v : Vec < u8 > ) -> Result < Self , FromBytesWithNulError > {
698698 let nul_pos = memchr:: memchr ( 0 , & v) ;
699699 match nul_pos {
You can’t perform that action at this time.
0 commit comments