diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-12-20 00:35:06 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-12-20 00:37:44 -0800 |
| commit | 92ccc073e1a5a68fada24b5b3cb47b65b5ff1c61 (patch) | |
| tree | 4992a05d77d7c24af27d83d6a47c417db45a28f7 /src/libcore/array.rs | |
| parent | 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70 (diff) | |
| download | rust-92ccc073e1a5a68fada24b5b3cb47b65b5ff1c61.tar.gz rust-92ccc073e1a5a68fada24b5b3cb47b65b5ff1c61.zip | |
Stabilize clone
This patch marks `clone` stable, as well as the `Clone` trait, but leaves `clone_from` unstable. The latter will be decided by the beta. The patch also marks most manual implementations of `Clone` as stable, except where the APIs are otherwise deprecated or where there is uncertainty about providing `Clone`.
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs index ffaf35414ea..e85a132ed36 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -25,7 +25,7 @@ use option::Option; macro_rules! array_impls { ($($N:expr)+) => { $( - #[unstable = "waiting for Clone to stabilize"] + #[stable] impl<T:Copy> Clone for [T, ..$N] { fn clone(&self) -> [T, ..$N] { *self @@ -115,4 +115,3 @@ array_impls! { 20 21 22 23 24 25 26 27 28 29 30 31 32 } - |
