aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/task-comm-12.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-05-06 22:13:13 +0200
committerMarijn Haverbeke <[email protected]>2011-05-06 22:51:19 +0200
commita3ec0b1f643d00b9418e4884bd7caa07bf052201 (patch)
tree82000510ac9c9cf3f0c7cf4ae5f3c6b123b559cb /src/test/run-pass/task-comm-12.rs
parentRegister new snapshots. (diff)
downloadrust-a3ec0b1f643d00b9418e4884bd7caa07bf052201.tar.xz
rust-a3ec0b1f643d00b9418e4884bd7caa07bf052201.zip
Rename std modules to be camelcased
(Have fun mergining your stuff with this.)
Diffstat (limited to 'src/test/run-pass/task-comm-12.rs')
-rw-r--r--src/test/run-pass/task-comm-12.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/task-comm-12.rs b/src/test/run-pass/task-comm-12.rs
index 2f8ef985..d4a135c2 100644
--- a/src/test/run-pass/task-comm-12.rs
+++ b/src/test/run-pass/task-comm-12.rs
@@ -3,7 +3,7 @@
// xfail-stage1
// xfail-stage2
use std;
-import std._task;
+import std.Task;
fn main() -> () {
test00();
@@ -18,7 +18,7 @@ fn test00() {
let task t = spawn thread "child" start(i);
// Sleep long enough for the task to finish.
- _task.sleep(10000u);
+ Task.sleep(10000u);
// Try joining tasks that have already finished.
join t;