@@ -462,7 +462,7 @@ impl CString {
462462 /// assert_eq!(c_str, CStr::from_bytes_with_nul(b"foo\0").unwrap());
463463 /// ```
464464 #[ inline]
465- #[ unstable ( feature = "as_c_str" , issue = "40380 " ) ]
465+ #[ stable ( feature = "as_c_str" , since = "1.20.0 " ) ]
466466 pub fn as_c_str ( & self ) -> & CStr {
467467 & * self
468468 }
@@ -482,7 +482,7 @@ impl CString {
482482 /// let boxed = c_string.into_boxed_c_str();
483483 /// assert_eq!(&*boxed, CStr::from_bytes_with_nul(b"foo\0").unwrap());
484484 /// ```
485- #[ unstable ( feature = "into_boxed_c_str" , issue = "40380 " ) ]
485+ #[ stable ( feature = "into_boxed_c_str" , since = "1.20.0 " ) ]
486486 pub fn into_boxed_c_str ( self ) -> Box < CStr > {
487487 unsafe { mem:: transmute ( self . into_inner ( ) ) }
488488 }
@@ -1009,7 +1009,7 @@ impl CStr {
10091009 /// let boxed = c_string.into_boxed_c_str();
10101010 /// assert_eq!(boxed.into_c_string(), CString::new("foo").unwrap());
10111011 /// ```
1012- #[ unstable ( feature = "into_boxed_c_str" , issue = "40380 " ) ]
1012+ #[ stable ( feature = "into_boxed_c_str" , since = "1.20.0 " ) ]
10131013 pub fn into_c_string ( self : Box < CStr > ) -> CString {
10141014 unsafe { mem:: transmute ( self ) }
10151015 }
0 commit comments