about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorGeorge Burton <burtonageo@gmail.com>2018-05-09 07:23:02 +0100
committerGeorge Burton <burtonageo@gmail.com>2018-05-09 07:23:02 +0100
commit17e262880c13abdc4d7bf72eb7e87146f0f3b1f0 (patch)
tree2f4f3028c97d1b7458df36f54b3cda328e352f82 /src/liballoc
parentf3e858aae761b30a56e8b03f510f360edeb3a2f1 (diff)
downloadrust-17e262880c13abdc4d7bf72eb7e87146f0f3b1f0.tar.gz
rust-17e262880c13abdc4d7bf72eb7e87146f0f3b1f0.zip
Update features to 1.28.0
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 61a207fc5b3..5f684361fdc 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.27.0")]
+#[stable(feature = "cow_from_string_ref", since = "1.28.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 315a8a0aad0..be4c80c85d9 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.27.0")]
+#[stable(feature = "cow_from_vec_ref", since = "1.28.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())