about summary refs log tree commit diff
path: root/src/libstd/sync/spsc_queue.rs
diff options
context:
space:
mode:
authorScott Lawrence <bytbox@gmail.com>2014-01-26 22:42:26 -0500
committerScott Lawrence <bytbox@gmail.com>2014-01-29 09:15:41 -0500
commit25e7e7f8076d879f824f013faa6f7470e69c818b (patch)
tree9acb92473ae0a0f1463901fe97e222e07da55b6b /src/libstd/sync/spsc_queue.rs
parentaf218d68e4b4916440ef2b4fc076a7bd8dead892 (diff)
downloadrust-25e7e7f8076d879f824f013faa6f7470e69c818b.tar.gz
rust-25e7e7f8076d879f824f013faa6f7470e69c818b.zip
Removing do keyword from libstd and librustc
Diffstat (limited to 'src/libstd/sync/spsc_queue.rs')
-rw-r--r--src/libstd/sync/spsc_queue.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/spsc_queue.rs b/src/libstd/sync/spsc_queue.rs
index b4b327cc9d1..35a5846f11a 100644
--- a/src/libstd/sync/spsc_queue.rs
+++ b/src/libstd/sync/spsc_queue.rs
@@ -315,7 +315,7 @@ mod test {
         fn stress_bound(bound: uint) {
             let (c, mut p) = queue(bound, ());
             let (port, chan) = Chan::new();
-            do native::task::spawn {
+            native::task::spawn(proc() {
                 let mut c = c;
                 for _ in range(0, 100000) {
                     loop {
@@ -327,7 +327,7 @@ mod test {
                     }
                 }
                 chan.send(());
-            }
+            });
             for _ in range(0, 100000) {
                 p.push(1);
             }