Skip to content

Commit 79d9a66

Browse files
frewsxcvnikomatsakis
authored andcommitted
Remove unused imports
1 parent 115aa3d commit 79d9a66

File tree

8 files changed

+2
-14
lines changed

8 files changed

+2
-14
lines changed

src/liballoc/arc.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,11 +600,9 @@ mod tests {
600600
use std::ops::Drop;
601601
use std::option::Option;
602602
use std::option::Option::{Some, None};
603-
use std::str::Str;
604603
use std::sync::atomic;
605604
use std::sync::atomic::Ordering::{Acquire, SeqCst};
606605
use std::task;
607-
use std::kinds::Send;
608606
use std::vec::Vec;
609607
use super::{Arc, Weak, weak_count, strong_count};
610608
use std::sync::Mutex;

src/libcollections/bit.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,14 +1876,9 @@ impl<'a> Iterator<uint> for SymmetricDifference<'a> {
18761876
#[cfg(test)]
18771877
mod tests {
18781878
use prelude::*;
1879-
use core::iter::range_step;
18801879
use core::u32;
1881-
use std::rand;
1882-
use std::rand::Rng;
1883-
use test::{Bencher, black_box};
18841880

1885-
use super::{Bitv, BitvSet, from_fn, from_bytes};
1886-
use bitv;
1881+
use super::{Bitv, from_fn, from_bytes};
18871882

18881883
#[test]
18891884
fn test_to_str() {

src/libcollections/ring_buf.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,6 @@ mod tests {
14181418
use self::Taggy::*;
14191419
use self::Taggypar::*;
14201420
use prelude::*;
1421-
use core::cmp;
14221421
use core::iter;
14231422
use std::fmt::Show;
14241423
use std::hash;

src/libcoretest/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
// ignore-lexer-test FIXME #15679
1212

13-
use core::char::{escape_unicode, escape_default};
13+
use core::char::escape_default;
1414

1515
#[test]
1616
fn test_is_lowercase() {

src/libcoretest/num/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use core::fmt::Show;
1313
use core::num::{NumCast, cast};
1414
use core::ops::{Add, Sub, Mul, Div, Rem};
1515
use core::kinds::Copy;
16-
use std::str::from_str;
1716

1817
mod int_macros;
1918
mod i8;

src/libgraphviz/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ mod tests {
589589
use super::{Id, Labeller, Nodes, Edges, GraphWalk, render};
590590
use super::LabelText::{mod, LabelStr, EscStr};
591591
use std::io::IoResult;
592-
use std::str;
593592
use std::borrow::IntoCow;
594593

595594
/// each node is an index in a vector in the graph.

src/librustc_back/rpath.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ fn minimize_rpaths(rpaths: &[String]) -> Vec<String> {
151151
mod test {
152152
use super::{RPathConfig};
153153
use super::{minimize_rpaths, rpaths_to_flags, get_rpath_relative_to_output};
154-
use syntax::abi;
155154

156155
#[test]
157156
fn test_rpaths_to_flags() {

src/libsyntax/ast.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,6 @@ mod test {
16671667
// are ASTs encodable?
16681668
#[test]
16691669
fn check_asts_encodable() {
1670-
use std::io;
16711670
let e = Crate {
16721671
module: Mod {
16731672
inner: Span {

0 commit comments

Comments
 (0)