about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2014-12-19 14:02:22 +0200
committerEduard Burtescu <edy.burt@gmail.com>2014-12-20 07:49:37 +0200
commitb45d30da34142fc33dd41bbf67c7dfc1a69ddf01 (patch)
treecff82472a01b56c5a8f0113a33c4821db3a8a87f /src/libstd/sync
parentf95e0c21aaf752cf1401c872dfb1d8de1a22b6f2 (diff)
downloadrust-b45d30da34142fc33dd41bbf67c7dfc1a69ddf01.tar.gz
rust-b45d30da34142fc33dd41bbf67c7dfc1a69ddf01.zip
Fix fallout of removing import_shadowing in tests.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/future.rs1
-rw-r--r--src/libstd/sync/task_pool.rs4
2 files changed, 1 insertions, 4 deletions
diff --git a/src/libstd/sync/future.rs b/src/libstd/sync/future.rs
index 5e9d234c642..51899a87a32 100644
--- a/src/libstd/sync/future.rs
+++ b/src/libstd/sync/future.rs
@@ -153,7 +153,6 @@ mod test {
     use prelude::*;
     use sync::Future;
     use task;
-    use comm::channel;
 
     #[test]
     fn test_from_value() {
diff --git a/src/libstd/sync/task_pool.rs b/src/libstd/sync/task_pool.rs
index 793825f1b08..366e4b7d35b 100644
--- a/src/libstd/sync/task_pool.rs
+++ b/src/libstd/sync/task_pool.rs
@@ -131,10 +131,8 @@ fn spawn_in_pool(jobs: Arc<Mutex<Receiver<Thunk>>>) {
 
 #[cfg(test)]
 mod test {
-    use core::prelude::*;
+    use prelude::*;
     use super::*;
-    use comm::channel;
-    use iter::range;
 
     const TEST_TASKS: uint = 4u;