about summary refs log tree commit diff
path: root/src/libstd/sync.rs
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-09-11 17:17:54 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-09-11 20:02:34 -0700
commitc087886e9321d6086ed3a623ec571da35fb865bf (patch)
tree51949005b792266cf48fe1f53b25cc587732eb75 /src/libstd/sync.rs
parent2c6c963f61d84d2a959df0d5c82f519c157ef552 (diff)
Make moves explicit in arguments
Diffstat (limited to 'src/libstd/sync.rs')
-rw-r--r--src/libstd/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync.rs b/src/libstd/sync.rs
index 6719b8ad6cd..9a176013474 100644
--- a/src/libstd/sync.rs
+++ b/src/libstd/sync.rs
@@ -108,7 +108,7 @@ impl<Q: Send> &Sem<Q> {
         /* for 1000.times { task::yield(); } */
         // Need to wait outside the exclusive.
         if waiter_nobe.is_some() {
-            let _ = pipes::recv_one(option::unwrap(waiter_nobe));
+            let _ = pipes::recv_one(option::unwrap(move waiter_nobe));
         }
     }
     fn release() {