From 645fff4bc88f25c36a8260d66d9af027fc0532f2 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 22 Dec 2013 19:32:17 +1100 Subject: [PATCH] fix check-fast tests. --- src/test/run-pass/vector-sort-failure-safe.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/run-pass/vector-sort-failure-safe.rs b/src/test/run-pass/vector-sort-failure-safe.rs index a45daad64b8d2..74f27e480909c 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| {