about summary refs log tree commit diff
path: root/src/libcore/private.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/private.rs')
-rw-r--r--src/libcore/private.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/private.rs b/src/libcore/private.rs
index 4021ad5e88f..7eba81803b3 100644
--- a/src/libcore/private.rs
+++ b/src/libcore/private.rs
@@ -564,7 +564,7 @@ pub mod tests {
 
         for uint::range(0u, num_tasks) |_i| {
             let total = total.clone();
-            vec::push(futures, future::spawn(|| {
+            futures.push(future::spawn(|| {
                 for uint::range(0u, count) |_i| {
                     do total.with |count| {
                         **count += 1u;