Skip to content

Commit e4cedc9

Browse files
authored
Rollup merge of #69538 - JohnTitor:boxed-slice-try-from, r=Centril
Stabilize `boxed_slice_try_from` Closes #69202
2 parents 87cc521 + 4e0bea3 commit e4cedc9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/liballoc/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ impl From<Box<str>> for Box<[u8]> {
825825
}
826826
}
827827

828-
#[unstable(feature = "boxed_slice_try_from", issue = "none")]
828+
#[stable(feature = "boxed_slice_try_from", since = "1.43.0")]
829829
impl<T, const N: usize> TryFrom<Box<[T]>> for Box<[T; N]>
830830
where
831831
[T; N]: LengthAtMost32,

src/liballoc/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ impl<T> From<Vec<T>> for Rc<[T]> {
14531453
}
14541454
}
14551455

1456-
#[unstable(feature = "boxed_slice_try_from", issue = "none")]
1456+
#[stable(feature = "boxed_slice_try_from", since = "1.43.0")]
14571457
impl<T, const N: usize> TryFrom<Rc<[T]>> for Rc<[T; N]>
14581458
where
14591459
[T; N]: LengthAtMost32,

src/liballoc/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2002,7 +2002,7 @@ impl<T> From<Vec<T>> for Arc<[T]> {
20022002
}
20032003
}
20042004

2005-
#[unstable(feature = "boxed_slice_try_from", issue = "none")]
2005+
#[stable(feature = "boxed_slice_try_from", since = "1.43.0")]
20062006
impl<T, const N: usize> TryFrom<Arc<[T]>> for Arc<[T; N]>
20072007
where
20082008
[T; N]: LengthAtMost32,

0 commit comments

Comments
 (0)