diff --git a/src/libextra/arc.rs b/src/libextra/arc.rs index 1b6b656e398a..2d9068be6cf0 100644 --- a/src/libextra/arc.rs +++ b/src/libextra/arc.rs @@ -281,7 +281,6 @@ struct RWARCInner { lock: RWlock, failed: bool, data: T } #[mutable] struct RWARC { x: UnsafeAtomicRcBox>, - cant_nest: () } /// Create a reader/writer ARC with the supplied data. @@ -299,7 +298,7 @@ pub fn rw_arc_with_condvars( let data = RWARCInner { lock: rwlock_with_condvars(num_condvars), failed: false, data: user_data }; - RWARC { x: UnsafeAtomicRcBox::new(data), cant_nest: () } + RWARC { x: UnsafeAtomicRcBox::new(data), } } impl RWARC { @@ -307,7 +306,6 @@ impl RWARC { pub fn clone(&self) -> RWARC { RWARC { x: self.x.clone(), - cant_nest: (), } }