about summary refs log tree commit diff
path: root/src/libnative/io
diff options
context:
space:
mode:
authorScott Lawrence <bytbox@gmail.com>2014-01-26 23:01:20 -0500
committerScott Lawrence <bytbox@gmail.com>2014-01-29 09:15:41 -0500
commit518a5e08c038fb74ba0efa8b29c7f80b7a42b970 (patch)
treeb2f524e87559152c535d925e090cf65ac65980e8 /src/libnative/io
parent93e99b8be467cae2f4bfa308568c1cd9b0bcba87 (diff)
downloadrust-518a5e08c038fb74ba0efa8b29c7f80b7a42b970.tar.gz
rust-518a5e08c038fb74ba0efa8b29c7f80b7a42b970.zip
Removing do keyword from libnative
Diffstat (limited to 'src/libnative/io')
-rw-r--r--src/libnative/io/timer_helper.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnative/io/timer_helper.rs b/src/libnative/io/timer_helper.rs
index 3c20d073f29..9fc18220386 100644
--- a/src/libnative/io/timer_helper.rs
+++ b/src/libnative/io/timer_helper.rs
@@ -46,10 +46,10 @@ pub fn boot(helper: fn(imp::signal, Port<Req>)) {
             let (receive, send) = imp::new();
             HELPER_SIGNAL = send;
 
-            do task::spawn {
+            task::spawn(proc() {
                 bookkeeping::decrement();
                 helper(receive, msgp);
-            }
+            });
 
             rt::at_exit(proc() { shutdown() });
         })