From b2882709b35ad7eaae20271a7458b903ae8f875f Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Wed, 14 Dec 2016 12:36:49 -0800 Subject: [PATCH] Stabilize std::cell::Ref::clone --- src/libcore/cell.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index 64a7a8c5ef785..f241f521ebf3b 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 {