about summary refs log tree commit diff
path: root/src/test/run-pass/task-comm-16.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/task-comm-16.rs')
-rw-r--r--src/test/run-pass/task-comm-16.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/task-comm-16.rs b/src/test/run-pass/task-comm-16.rs
index afc9290b62d..648a54d190f 100644
--- a/src/test/run-pass/task-comm-16.rs
+++ b/src/test/run-pass/task-comm-16.rs
@@ -100,7 +100,7 @@ fn test_tag() {
 fn test_chan() {
     let (po, ch) = pipes::stream();
     let (po0, ch0) = pipes::stream();
-    ch.send(move ch0);
+    ch.send(ch0);
     let ch1 = po.recv();
     // Does the transmitted channel still work?