@@ -682,7 +682,7 @@ impl Borrow<CStr> for CString {
682
682
fn borrow ( & self ) -> & CStr { self }
683
683
}
684
684
685
- #[ stable( feature = "cstring_from_cow_cstr" , since = "1.28 .0" ) ]
685
+ #[ stable( feature = "cstring_from_cow_cstr" , since = "1.27 .0" ) ]
686
686
impl < ' a > From < Cow < ' a , CStr > > for CString {
687
687
#[ inline]
688
688
fn from ( s : Cow < ' a , CStr > ) -> Self {
@@ -714,23 +714,23 @@ impl From<CString> for Box<CStr> {
714
714
}
715
715
}
716
716
717
- #[ stable( feature = "cow_from_cstr" , since = "1.28 .0" ) ]
717
+ #[ stable( feature = "cow_from_cstr" , since = "1.27 .0" ) ]
718
718
impl < ' a > From < CString > for Cow < ' a , CStr > {
719
719
#[ inline]
720
720
fn from ( s : CString ) -> Cow < ' a , CStr > {
721
721
Cow :: Owned ( s)
722
722
}
723
723
}
724
724
725
- #[ stable( feature = "cow_from_cstr" , since = "1.28 .0" ) ]
725
+ #[ stable( feature = "cow_from_cstr" , since = "1.27 .0" ) ]
726
726
impl < ' a > From < & ' a CStr > for Cow < ' a , CStr > {
727
727
#[ inline]
728
728
fn from ( s : & ' a CStr ) -> Cow < ' a , CStr > {
729
729
Cow :: Borrowed ( s)
730
730
}
731
731
}
732
732
733
- #[ stable( feature = "cow_from_cstr" , since = "1.28 .0" ) ]
733
+ #[ stable( feature = "cow_from_cstr" , since = "1.27 .0" ) ]
734
734
impl < ' a > From < & ' a CString > for Cow < ' a , CStr > {
735
735
#[ inline]
736
736
fn from ( s : & ' a CString ) -> Cow < ' a , CStr > {
0 commit comments