mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-14 13:06:49 +00:00
change attribute to stable
This commit is contained in:
parent
5030794248
commit
ab55d9b5d3
@ -700,7 +700,7 @@ impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Box<U>> for Box<T> {}
|
||||
#[unstable(feature = "dispatch_from_dyn", issue = "0")]
|
||||
impl<T: ?Sized + Unsize<U>, U: ?Sized> DispatchFromDyn<Box<U>> for Box<T> {}
|
||||
|
||||
#[unstable(feature = "boxed_slice_from_iter", issue = "0")]
|
||||
#[stable(feature = "boxed_slice_from_iter", since = "1.32.0")]
|
||||
impl<A> FromIterator<A> for Box<[A]> {
|
||||
fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self {
|
||||
iter.into_iter().collect::<Vec<_>>().into_boxed_slice()
|
||||
|
Loading…
Reference in New Issue
Block a user