Skip to content

Commit 645fff4

Browse files
committed
fix check-fast tests.
1 parent 2e8c522 commit 645fff4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/run-pass/vector-sort-failure-safe.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
use std::task;
1112
use std::rand::{task_rng, Rng};
1213

1314
static MAX_LEN: uint = 20;
@@ -60,7 +61,7 @@ pub fn main() {
6061

6162
let v = main.clone();
6263

63-
std::task::try(proc() {
64+
task::try(proc() {
6465
let mut v = v;
6566
let mut fail_countdown = fail_countdown;
6667
v.sort_by(|a, b| {

0 commit comments

Comments
 (0)