Skip to content

Commit 67c07d4

Browse files
committed
Fix feature name
1 parent 8ce9c19 commit 67c07d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/liballoc/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ impl<T: ?Sized + Hash> Hash for Arc<T> {
895895
}
896896
}
897897

898-
#[stable(feature = "rust1", since = "1.6.0")]
898+
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
899899
impl<T> From<T> for Arc<T> {
900900
fn from(t: T) -> Self {
901901
Arc::new(t)

src/liballoc/boxed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ impl<T: ?Sized + Hash> Hash for Box<T> {
376376
}
377377
}
378378

379-
#[stable(feature = "rust1", since = "1.6.0")]
379+
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
380380
impl<T> From<T> for Box<T> {
381381
fn from(t: T) -> Self {
382382
Box::new(t)

src/liballoc/rc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ impl<T> fmt::Pointer for Rc<T> {
699699
}
700700
}
701701

702-
#[stable(feature = "rust1", since = "1.6.0")]
702+
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
703703
impl<T> From<T> for Rc<T> {
704704
fn from(t: T) -> Self {
705705
Rc::new(t)

0 commit comments

Comments
 (0)