Rollup merge of #69538 - JohnTitor:boxed-slice-try-from, r=Centril
Stabilize `boxed_slice_try_from` Closes #69202
This commit is contained in:
commit
e4cedc9df2
3 changed files with 3 additions and 3 deletions
|
@ -825,7 +825,7 @@ impl From<Box<str>> for Box<[u8]> {
|
|||
}
|
||||
}
|
||||
|
||||
#[unstable(feature = "boxed_slice_try_from", issue = "none")]
|
||||
#[stable(feature = "boxed_slice_try_from", since = "1.43.0")]
|
||||
impl<T, const N: usize> TryFrom<Box<[T]>> for Box<[T; N]>
|
||||
where
|
||||
[T; N]: LengthAtMost32,
|
||||
|
|
|
@ -1453,7 +1453,7 @@ impl<T> From<Vec<T>> for Rc<[T]> {
|
|||
}
|
||||
}
|
||||
|
||||
#[unstable(feature = "boxed_slice_try_from", issue = "none")]
|
||||
#[stable(feature = "boxed_slice_try_from", since = "1.43.0")]
|
||||
impl<T, const N: usize> TryFrom<Rc<[T]>> for Rc<[T; N]>
|
||||
where
|
||||
[T; N]: LengthAtMost32,
|
||||
|
|
|
@ -2002,7 +2002,7 @@ impl<T> From<Vec<T>> for Arc<[T]> {
|
|||
}
|
||||
}
|
||||
|
||||
#[unstable(feature = "boxed_slice_try_from", issue = "none")]
|
||||
#[stable(feature = "boxed_slice_try_from", since = "1.43.0")]
|
||||
impl<T, const N: usize> TryFrom<Arc<[T]>> for Arc<[T; N]>
|
||||
where
|
||||
[T; N]: LengthAtMost32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue