1
Fork 0

Update features to 1.28.0

This commit is contained in:
George Burton 2018-05-09 07:23:02 +01:00
parent f3e858aae7
commit 17e262880c
5 changed files with 12 additions and 12 deletions

View file

@ -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())