about summary refs log tree commit diff
path: root/src/libstd/ffi
diff options
context:
space:
mode:
authorGeorge Burton <burtonageo@gmail.com>2018-04-27 20:46:06 +0100
committerGeorge Burton <burtonageo@gmail.com>2018-04-27 20:46:06 +0100
commitf3e858aae761b30a56e8b03f510f360edeb3a2f1 (patch)
tree99cd5ca37c0e17b0d860e6dd5751bdc81ed1da15 /src/libstd/ffi
parentd87b039ea61b5be401f855b6ab788ddd6e04c847 (diff)
downloadrust-f3e858aae761b30a56e8b03f510f360edeb3a2f1.tar.gz
rust-f3e858aae761b30a56e8b03f510f360edeb3a2f1.zip
Update the stable attributes to use the current nightly version number
Diffstat (limited to 'src/libstd/ffi')
-rw-r--r--src/libstd/ffi/c_str.rs8
-rw-r--r--src/libstd/ffi/os_str.rs8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs
index 7f38cadfb22..10f59b0a3cc 100644
--- a/src/libstd/ffi/c_str.rs
+++ b/src/libstd/ffi/c_str.rs
@@ -682,7 +682,7 @@ impl Borrow<CStr> for CString {
     fn borrow(&self) -> &CStr { self }
 }
 
-#[stable(feature = "cstring_from_cow_cstr", since = "1.28.0")]
+#[stable(feature = "cstring_from_cow_cstr", since = "1.27.0")]
 impl<'a> From<Cow<'a, CStr>> for CString {
     #[inline]
     fn from(s: Cow<'a, CStr>) -> Self {
@@ -714,7 +714,7 @@ impl From<CString> for Box<CStr> {
     }
 }
 
-#[stable(feature = "cow_from_cstr", since = "1.28.0")]
+#[stable(feature = "cow_from_cstr", since = "1.27.0")]
 impl<'a> From<CString> for Cow<'a, CStr> {
     #[inline]
     fn from(s: CString) -> Cow<'a, CStr> {
@@ -722,7 +722,7 @@ impl<'a> From<CString> for Cow<'a, CStr> {
     }
 }
 
-#[stable(feature = "cow_from_cstr", since = "1.28.0")]
+#[stable(feature = "cow_from_cstr", since = "1.27.0")]
 impl<'a> From<&'a CStr> for Cow<'a, CStr> {
     #[inline]
     fn from(s: &'a CStr) -> Cow<'a, CStr> {
@@ -730,7 +730,7 @@ impl<'a> From<&'a CStr> for Cow<'a, CStr> {
     }
 }
 
-#[stable(feature = "cow_from_cstr", since = "1.28.0")]
+#[stable(feature = "cow_from_cstr", since = "1.27.0")]
 impl<'a> From<&'a CString> for Cow<'a, CStr> {
     #[inline]
     fn from(s: &'a CString) -> Cow<'a, CStr> {
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs
index 0a3148029d0..d865ffa8e2f 100644
--- a/src/libstd/ffi/os_str.rs
+++ b/src/libstd/ffi/os_str.rs
@@ -664,7 +664,7 @@ impl<'a> From<&'a OsStr> for Rc<OsStr> {
     }
 }
 
-#[stable(feature = "cow_from_osstr", since = "1.28.0")]
+#[stable(feature = "cow_from_osstr", since = "1.27.0")]
 impl<'a> From<OsString> for Cow<'a, OsStr> {
     #[inline]
     fn from(s: OsString) -> Cow<'a, OsStr> {
@@ -672,7 +672,7 @@ impl<'a> From<OsString> for Cow<'a, OsStr> {
     }
 }
 
-#[stable(feature = "cow_from_osstr", since = "1.28.0")]
+#[stable(feature = "cow_from_osstr", since = "1.27.0")]
 impl<'a> From<&'a OsStr> for Cow<'a, OsStr> {
     #[inline]
     fn from(s: &'a OsStr) -> Cow<'a, OsStr> {
@@ -680,7 +680,7 @@ impl<'a> From<&'a OsStr> for Cow<'a, OsStr> {
     }
 }
 
-#[stable(feature = "cow_from_osstr", since = "1.28.0")]
+#[stable(feature = "cow_from_osstr", since = "1.27.0")]
 impl<'a> From<&'a OsString> for Cow<'a, OsStr> {
     #[inline]
     fn from(s: &'a OsString) -> Cow<'a, OsStr> {
@@ -688,7 +688,7 @@ impl<'a> From<&'a OsString> for Cow<'a, OsStr> {
     }
 }
 
-#[stable(feature = "osstring_from_cow_osstr", since = "1.28.0")]
+#[stable(feature = "osstring_from_cow_osstr", since = "1.27.0")]
 impl<'a> From<Cow<'a, OsStr>> for OsString {
     #[inline]
     fn from(s: Cow<'a, OsStr>) -> Self {