diff options
| author | Aaron Turon <aturon@mozilla.com> | 2016-12-14 12:36:49 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2016-12-15 10:56:55 -0800 |
| commit | b2882709b35ad7eaae20271a7458b903ae8f875f (patch) | |
| tree | c4d21f766b0721ab066b54b3e1cbf5f899e9b4a4 /src/libcore | |
| parent | 415f3de7aa565294ab79c38c78a1fab11369f32c (diff) | |
| download | rust-b2882709b35ad7eaae20271a7458b903ae8f875f.tar.gz rust-b2882709b35ad7eaae20271a7458b903ae8f875f.zip | |
Stabilize std::cell::Ref::clone
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/cell.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index 64a7a8c5ef7..f241f521ebf 100644 --- a/src/libcore/cell.rs +++ b/src/libcore/cell.rs @@ -888,9 +888,7 @@ impl<'b, T: ?Sized> Ref<'b, T> { /// `Ref::clone(...)`. A `Clone` implementation or a method would interfere /// with the widespread use of `r.borrow().clone()` to clone the contents of /// a `RefCell`. - #[unstable(feature = "cell_extras", - reason = "likely to be moved to a method, pending language changes", - issue = "27746")] + #[stable(feature = "cell_extras", since = "1.15.0")] #[inline] pub fn clone(orig: &Ref<'b, T>) -> Ref<'b, T> { Ref { |
