about summary refs log tree commit diff
path: root/src/libcore/cell.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-30 19:51:25 +0000
committerbors <bors@rust-lang.org>2014-08-30 19:51:25 +0000
commitf2973665935161bb2b2eca3f41c33a4fd2fe82c4 (patch)
tree285aa850b2763a426fdd2a874d100261de3d7024 /src/libcore/cell.rs
parentcbacdbc5f3bc4f401a96177df8efd2eb765e8799 (diff)
parentd15d55973946f8f582ba69b1789b5b5d35da5b2d (diff)
downloadrust-f2973665935161bb2b2eca3f41c33a4fd2fe82c4.tar.gz
rust-f2973665935161bb2b2eca3f41c33a4fd2fe82c4.zip
auto merge of #16859 : alexcrichton/rust/snapshots, r=huonw
Diffstat (limited to 'src/libcore/cell.rs')
-rw-r--r--src/libcore/cell.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs
index 569cf98ebc8..1cad9a3f8ca 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -324,22 +324,12 @@ impl<T: PartialEq> PartialEq for RefCell<T> {
 
 /// Wraps a borrowed reference to a value in a `RefCell` box.
 #[unstable]
-#[cfg(not(stage0))]
 pub struct Ref<'b, T:'b> {
     // FIXME #12808: strange name to try to avoid interfering with
     // field accesses of the contained type via Deref
     _parent: &'b RefCell<T>
 }
 
-/// Dox.
-#[unstable]
-#[cfg(stage0)]
-pub struct Ref<'b, T> {
-    // FIXME #12808: strange name to try to avoid interfering with
-    // field accesses of the contained type via Deref
-    _parent: &'b RefCell<T>
-}
-
 #[unsafe_destructor]
 #[unstable]
 impl<'b, T> Drop for Ref<'b, T> {
@@ -379,22 +369,12 @@ pub fn clone_ref<'b, T>(orig: &Ref<'b, T>) -> Ref<'b, T> {
 
 /// Wraps a mutable borrowed reference to a value in a `RefCell` box.
 #[unstable]
-#[cfg(not(stage0))]
 pub struct RefMut<'b, T:'b> {
     // FIXME #12808: strange name to try to avoid interfering with
     // field accesses of the contained type via Deref
     _parent: &'b RefCell<T>
 }
 
-/// Dox.
-#[unstable]
-#[cfg(stage0)]
-pub struct RefMut<'b, T> {
-    // FIXME #12808: strange name to try to avoid interfering with
-    // field accesses of the contained type via Deref
-    _parent: &'b RefCell<T>
-}
-
 #[unsafe_destructor]
 #[unstable]
 impl<'b, T> Drop for RefMut<'b, T> {