diff options
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 2 | ||||
| -rw-r--r-- | src/liballoc/boxed.rs | 2 | ||||
| -rw-r--r-- | src/liballoc/rc.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 32d9097c45e..271cab393c4 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -197,7 +197,7 @@ pub fn weak_count<T>(this: &Arc<T>) -> uint { this.inner().weak.load(atomic::Seq #[experimental] pub fn strong_count<T>(this: &Arc<T>) -> uint { this.inner().strong.load(atomic::SeqCst) } -#[unstable = "waiting on stability of Clone"] +#[stable] impl<T> Clone for Arc<T> { /// Makes a clone of the `Arc<T>`. /// diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index ea7b32ace49..5fd234192c5 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -58,7 +58,7 @@ impl<T> Default for Box<[T]> { fn default() -> Box<[T]> { box [] } } -#[unstable] +#[stable] impl<T: Clone> Clone for Box<T> { /// Returns a copy of the owned box. #[inline] diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 2ee4483a919..dfa55848c90 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -410,7 +410,7 @@ impl<T> Drop for Rc<T> { } } -#[unstable = "Clone is unstable."] +#[stable] impl<T> Clone for Rc<T> { /// Makes a clone of the `Rc<T>`. /// |
