Skip to content

Commit b288270

Browse files
committed
Stabilize std::cell::Ref::clone
1 parent 415f3de commit b288270

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libcore/cell.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -888,9 +888,7 @@ impl<'b, T: ?Sized> Ref<'b, T> {
888888
/// `Ref::clone(...)`. A `Clone` implementation or a method would interfere
889889
/// with the widespread use of `r.borrow().clone()` to clone the contents of
890890
/// a `RefCell`.
891-
#[unstable(feature = "cell_extras",
892-
reason = "likely to be moved to a method, pending language changes",
893-
issue = "27746")]
891+
#[stable(feature = "cell_extras", since = "1.15.0")]
894892
#[inline]
895893
pub fn clone(orig: &Ref<'b, T>) -> Ref<'b, T> {
896894
Ref {

0 commit comments

Comments
 (0)