about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
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())