stdtest: Fix all leaked trait imports
This commit is contained in:
parent
c4d36b85a0
commit
bcb1c381a3
35 changed files with 67 additions and 101 deletions
|
@ -2970,10 +2970,10 @@ impl<A> Extendable<A> for ~[A] {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use prelude::*;
|
||||
use mem;
|
||||
use vec::*;
|
||||
use cmp::*;
|
||||
use prelude::*;
|
||||
use rand::{Rng, task_rng};
|
||||
|
||||
fn square(n: uint) -> uint { n * n }
|
||||
|
@ -4454,13 +4454,11 @@ mod tests {
|
|||
#[cfg(test)]
|
||||
mod bench {
|
||||
use extra::test::BenchHarness;
|
||||
use iter::range;
|
||||
use vec;
|
||||
use vec::{VectorVector, MutableTotalOrdVector};
|
||||
use option::*;
|
||||
use mem;
|
||||
use prelude::*;
|
||||
use ptr;
|
||||
use rand::{weak_rng, Rng};
|
||||
use mem;
|
||||
use vec;
|
||||
|
||||
#[bench]
|
||||
fn iterator(bh: &mut BenchHarness) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue