about summary refs log tree commit diff
path: root/src/test/run-pass/hashmap-memory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/hashmap-memory.rs')
-rw-r--r--src/test/run-pass/hashmap-memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/hashmap-memory.rs b/src/test/run-pass/hashmap-memory.rs
index bca4cbafc6c..c6ae2047147 100644
--- a/src/test/run-pass/hashmap-memory.rs
+++ b/src/test/run-pass/hashmap-memory.rs
@@ -71,7 +71,7 @@ mod map_reduce {
 
         start_mappers(ctrl_chan, inputs.clone());
 
-        let mut num_mappers = vec::len(inputs) as int;
+        let mut num_mappers = inputs.len() as int;
 
         while num_mappers > 0 {
             match ctrl_port.recv() {