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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/hashmap-memory.rs b/src/test/run-pass/hashmap-memory.rs
index 9d8e7ec116e..ccbb07fce1f 100644
--- a/src/test/run-pass/hashmap-memory.rs
+++ b/src/test/run-pass/hashmap-memory.rs
@@ -31,9 +31,9 @@ mod map_reduce {
 
     type mapper = native fn(str, putter);
 
-    enum ctrl_proto { find_reducer([u8], chan<int>), mapper_done, }
+    enum ctrl_proto { find_reducer([u8]/~, chan<int>), mapper_done, }
 
-    fn start_mappers(ctrl: chan<ctrl_proto>, inputs: [str]) {
+    fn start_mappers(ctrl: chan<ctrl_proto>, inputs: [str]/~) {
         for inputs.each {|i|
             task::spawn {|| map_task(ctrl, i); };
         }
@@ -63,7 +63,7 @@ mod map_reduce {
         send(ctrl, mapper_done);
     }
 
-    fn map_reduce(inputs: [str]) {
+    fn map_reduce(inputs: [str]/~) {
         let ctrl = port();
 
         // This task becomes the master control task. It spawns others