diff options
Diffstat (limited to 'src/test/run-pass/task-comm-10.rs')
| -rw-r--r-- | src/test/run-pass/task-comm-10.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/task-comm-10.rs b/src/test/run-pass/task-comm-10.rs index 6932f7e0..3c504ea7 100644 --- a/src/test/run-pass/task-comm-10.rs +++ b/src/test/run-pass/task-comm-10.rs @@ -1,13 +1,13 @@ // xfail-boot // xfail-stage0 -impure fn start(chan[chan[str]] c) { +fn start(chan[chan[str]] c) { let port[str] p = port(); c <| chan(p); auto a <- p; // auto b <- p; // Never read the second string. } -impure fn main() { +fn main() { let port[chan[str]] p = port(); auto child = spawn "start" start(chan(p)); auto c <- p; |