Fix feature name

This commit is contained in:
Alexander Bulaev 2015-11-16 11:04:17 +03:00
parent 8ce9c19b5b
commit 67c07d4450
3 changed files with 3 additions and 3 deletions

View File

@ -895,7 +895,7 @@ impl<T: ?Sized + Hash> Hash for Arc<T> {
}
}
#[stable(feature = "rust1", since = "1.6.0")]
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
impl<T> From<T> for Arc<T> {
fn from(t: T) -> Self {
Arc::new(t)

View File

@ -376,7 +376,7 @@ impl<T: ?Sized + Hash> Hash for Box<T> {
}
}
#[stable(feature = "rust1", since = "1.6.0")]
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
impl<T> From<T> for Box<T> {
fn from(t: T) -> Self {
Box::new(t)

View File

@ -699,7 +699,7 @@ impl<T> fmt::Pointer for Rc<T> {
}
}
#[stable(feature = "rust1", since = "1.6.0")]
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
impl<T> From<T> for Rc<T> {
fn from(t: T) -> Self {
Rc::new(t)