diff options
| author | Corey Richardson <corey@octayn.net> | 2013-06-28 08:05:11 -0400 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2013-06-28 10:47:59 -0400 |
| commit | 8f5cb92f89a48fd47b0eff6fa72aa2f0b18188b3 (patch) | |
| tree | c4b0d35cec4f6be2d29eafde9b39825d2f71ad17 | |
| parent | fae4a9e5ba36202dc8036cf90a7dd8ace4c1336a (diff) | |
| download | rust-8f5cb92f89a48fd47b0eff6fa72aa2f0b18188b3.tar.gz rust-8f5cb92f89a48fd47b0eff6fa72aa2f0b18188b3.zip | |
Fix threadring
| -rw-r--r-- | src/test/bench/shootout-threadring.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/bench/shootout-threadring.rs b/src/test/bench/shootout-threadring.rs index a67bbb05dfb..97168de5d43 100644 --- a/src/test/bench/shootout-threadring.rs +++ b/src/test/bench/shootout-threadring.rs @@ -13,7 +13,9 @@ use std::os; fn start(n_tasks: int, token: int) { - let mut (p, ch1) = stream(); + let (p, ch1) = stream(); + let mut p = p; + let mut ch1 = ch1; ch1.send(token); // XXX could not get this to work with a range closure let mut i = 2; |
