diff options
Diffstat (limited to 'src/libcore/cell.rs')
| -rw-r--r-- | src/libcore/cell.rs | 20 |
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> { |
