diff options
| author | Axary <bastian_kauschke@hotmail.de> | 2018-11-11 10:45:16 +0100 |
|---|---|---|
| committer | Axary <bastian_kauschke@hotmail.de> | 2018-11-11 10:45:16 +0100 |
| commit | ab55d9b5d33f324495509ab45c8386b97b74d04f (patch) | |
| tree | 39ff0a875edb5f5d1b29960e551558d4fb6e64ff /src/liballoc | |
| parent | 50307942481ffd95e9eb616463363542bc79b14b (diff) | |
| download | rust-ab55d9b5d33f324495509ab45c8386b97b74d04f.tar.gz rust-ab55d9b5d33f324495509ab45c8386b97b74d04f.zip | |
change attribute to stable
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index e1e9617b491..63b262d1f3d 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -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() |
