diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-06-23 16:34:29 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-24 17:22:57 -0700 |
| commit | adbd5d7a421e50b1ff4c1d8f1f43a9fd5fb977a3 (patch) | |
| tree | 603820f3e0b982f105a21e9ed58ec5fae92c52e9 /src/libstd | |
| parent | 1ea2efece148d3ff4b4739983a14603f1d80a02b (diff) | |
| download | rust-adbd5d7a421e50b1ff4c1d8f1f43a9fd5fb977a3.tar.gz rust-adbd5d7a421e50b1ff4c1d8f1f43a9fd5fb977a3.zip | |
core: Add stability attributes to Clone
The following are tagged 'unstable' - core::clone - Clone - Clone::clone - impl Clone for Arc - impl Clone for arc::Weak - impl Clone for Rc - impl Clone for rc::Weak - impl Clone for Vec - impl Clone for Cell - impl Clone for RefCell - impl Clone for small tuples The following are tagged 'experimental' - Clone::clone_from - may not provide enough utility - impls for various extern "Rust" fns - may not handle lifetimes correctly See https://github.com/rust-lang/rust/wiki/Meeting-API-review-2014-06-23#clone
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/gc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/gc.rs b/src/libstd/gc.rs index e889752f4fc..0f30e7231b1 100644 --- a/src/libstd/gc.rs +++ b/src/libstd/gc.rs @@ -37,6 +37,7 @@ pub struct Gc<T> { marker: marker::NoSend, } +#[unstable] impl<T> Clone for Gc<T> { /// Clone the pointer only #[inline] |
