diff --git a/src/libextra/sort.rs b/src/libextra/sort.rs index 56a906e0a5d..57d8563861e 100644 --- a/src/libextra/sort.rs +++ b/src/libextra/sort.rs @@ -1020,8 +1020,6 @@ mod big_tests { use sort::*; - use std::cast::unsafe_copy; - use std::local_data; use std::rand::RngUtil; use std::rand; use std::uint; diff --git a/src/libstd/unstable/sync.rs b/src/libstd/unstable/sync.rs index 66ad7dde635..d4de402a33e 100644 --- a/src/libstd/unstable/sync.rs +++ b/src/libstd/unstable/sync.rs @@ -357,7 +357,6 @@ pub fn unwrap(self) -> T { #[cfg(test)] mod tests { - use super::*; use cell::Cell; use comm; use option::*;