about summary refs log tree commit diff
path: root/src/libextra/arc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libextra/arc.rs')
-rw-r--r--src/libextra/arc.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libextra/arc.rs b/src/libextra/arc.rs
index ea8066b786f..6add053fa81 100644
--- a/src/libextra/arc.rs
+++ b/src/libextra/arc.rs
@@ -635,9 +635,8 @@ mod tests {
             })
         }
 
-        let mut c = Some(c);
         arc.access_cond(|state, cond| {
-            c.take_unwrawp().send(());
+            c.send(());
             assert!(!*state);
             while !*state {
                 cond.wait();