diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-22 19:32:17 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-22 19:32:17 +1100 |
| commit | 645fff4bc88f25c36a8260d66d9af027fc0532f2 (patch) | |
| tree | dbc9d3e09d09b89db7bd372e40118d8edad820fc /src | |
| parent | 2e8c522c6206eacb8f8d5e2d30590c4080cbed7a (diff) | |
| download | rust-645fff4bc88f25c36a8260d66d9af027fc0532f2.tar.gz rust-645fff4bc88f25c36a8260d66d9af027fc0532f2.zip | |
fix check-fast tests.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/vector-sort-failure-safe.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/run-pass/vector-sort-failure-safe.rs b/src/test/run-pass/vector-sort-failure-safe.rs index a45daad64b8..74f27e48090 100644 --- a/src/test/run-pass/vector-sort-failure-safe.rs +++ b/src/test/run-pass/vector-sort-failure-safe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +use std::task; use std::rand::{task_rng, Rng}; static MAX_LEN: uint = 20; @@ -60,7 +61,7 @@ pub fn main() { let v = main.clone(); - std::task::try(proc() { + task::try(proc() { let mut v = v; let mut fail_countdown = fail_countdown; v.sort_by(|a, b| { |
