about summary refs log tree commit diff
path: root/src/liballoc
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/liballoc
parentd87b039ea61b5be401f855b6ab788ddd6e04c847 (diff)
downloadrust-f3e858aae761b30a56e8b03f510f360edeb3a2f1.tar.gz
rust-f3e858aae761b30a56e8b03f510f360edeb3a2f1.zip
Update the stable attributes to use the current nightly version number
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/string.rs2
-rw-r--r--src/liballoc/vec.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs
index 5f684361fdc..61a207fc5b3 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -2239,7 +2239,7 @@ impl<'a> From<String> for Cow<'a, str> {
     }
 }
 
-#[stable(feature = "cow_from_string_ref", since = "1.28.0")]
+#[stable(feature = "cow_from_string_ref", since = "1.27.0")]
 impl<'a> From<&'a String> for Cow<'a, str> {
     #[inline]
     fn from(s: &'a String) -> Cow<'a, str> {
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index be4c80c85d9..315a8a0aad0 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -2285,7 +2285,7 @@ impl<'a, T: Clone> From<Vec<T>> for Cow<'a, [T]> {
     }
 }
 
-#[stable(feature = "cow_from_vec_ref", since = "1.28.0")]
+#[stable(feature = "cow_from_vec_ref", since = "1.27.0")]
 impl<'a, T: Clone> From<&'a Vec<T>> for Cow<'a, [T]> {
     fn from(v: &'a Vec<T>) -> Cow<'a, [T]> {
         Cow::Borrowed(v.as_slice())