Update the stable attributes to use the current nightly version number

This commit is contained in:
George Burton
2018-04-27 20:46:06 +01:00
parent d87b039ea6
commit f3e858aae7
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.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())