Skip to content

Commit 6d778ff

Browse files
committed
Remove outdated and unnecessary std::vec_ng::Vec imports.
(And fix some tests.)
1 parent af79a5a commit 6d778ff

File tree

168 files changed

+26
-273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+26
-273
lines changed

src/compiletest/compiletest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ extern crate getopts;
2121
extern crate log;
2222

2323
use std::os;
24-
use std::vec_ng::Vec;
2524
use std::io;
2625
use std::io::fs;
2726
use getopts::{optopt, optflag, reqopt};

src/compiletest/errors.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
use std::io::{BufferedReader, File};
12-
use std::vec_ng::Vec;
1312

1413
pub struct ExpectedError { line: uint, kind: ~str, msg: ~str }
1514

src/compiletest/header.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ use common::config;
1212
use common;
1313
use util;
1414

15-
use std::vec_ng::Vec;
16-
1715
pub struct TestProps {
1816
// Lines that should be expected, in order, on standard out
1917
error_patterns: Vec<~str> ,

src/compiletest/runtest.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ use std::os;
3333
use std::str;
3434
use std::task;
3535
use std::slice;
36-
use std::vec_ng;
37-
36+
use std::vec;
3837
use test::MetricMap;
3938

4039
pub fn run(config: config, testfile: ~str) {

src/libarena/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@ impl<T> Drop for TypedArena<T> {
489489
mod tests {
490490
extern crate test;
491491

492-
use std::vec_ng::Vec;
493492

494493
use self::test::BenchHarness;
495494
use super::{Arena, TypedArena};

src/libgetopts/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,6 @@ mod tests {
903903

904904
use std::result::{Err, Ok};
905905
use std::result;
906-
use std::vec_ng::Vec;
907906

908907
fn check_fail_type(f: Fail_, ft: FailType) {
909908
match f {

src/libsync/arc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ mod tests {
583583
use super::{Arc, RWArc, MutexArc, CowArc};
584584

585585
use std::task;
586-
use std::vec_ng::Vec;
587586

588587
#[test]
589588
fn manually_share_arc() {

src/libsync/sync/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,6 @@ mod tests {
765765
use std::result;
766766
use std::task;
767767
use std::comm::Empty;
768-
use std::vec_ng::Vec;
769768

770769
/************************************************************************
771770
* Semaphore tests

src/libterm/terminfo/parm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ fn format(val: Param, op: FormatOp, flags: Flags) -> Result<Vec<u8> ,~str> {
563563
mod test {
564564
use super::{expand,String,Variables,Number};
565565
use std::result::Ok;
566-
use std::vec_ng;
566+
use std::vec;
567567

568568
#[test]
569569
fn test_basic_setabf() {

src/libuuid/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ mod test {
538538
Version5Sha1};
539539
use std::str;
540540
use std::io::MemWriter;
541-
use std::vec_ng::Vec;
542541

543542
#[test]
544543
fn test_nil() {

0 commit comments

Comments
 (0)