From da3625161d8f8bcb2f43d703eec8d002d0bb9c87 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 19 Mar 2014 23:23:00 -0700 Subject: Removing imports of std::vec_ng::Vec It's now in the prelude. --- src/libsyntax/util/interner.rs | 1 - src/libsyntax/util/parser_testing.rs | 2 -- src/libsyntax/util/small_vector.rs | 3 --- 3 files changed, 6 deletions(-) (limited to 'src/libsyntax/util') diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index 0406f5f5ba9..2dea6f79ee6 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -21,7 +21,6 @@ use std::cmp::Equiv; use std::fmt; use std::hash::Hash; use std::rc::Rc; -use std::vec::Vec; pub struct Interner { priv map: RefCell>, diff --git a/src/libsyntax/util/parser_testing.rs b/src/libsyntax/util/parser_testing.rs index 13590542dac..b62990036e5 100644 --- a/src/libsyntax/util/parser_testing.rs +++ b/src/libsyntax/util/parser_testing.rs @@ -15,8 +15,6 @@ use parse::{new_parser_from_source_str}; use parse::parser::Parser; use parse::token; -use std::vec::Vec; - // map a string to tts, using a made-up filename: pub fn string_to_tts(source_str: ~str) -> Vec { let ps = new_parse_sess(); diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs index 72faaee64ff..ac2b00bed76 100644 --- a/src/libsyntax/util/small_vector.rs +++ b/src/libsyntax/util/small_vector.rs @@ -9,7 +9,6 @@ // except according to those terms. use std::mem; -use std::vec::Vec; use std::vec; /// A vector type optimized for cases where the size is almost always 0 or 1 @@ -146,8 +145,6 @@ impl Iterator for MoveItems { mod test { use super::*; - use std::vec::Vec; - #[test] fn test_len() { let v: SmallVector = SmallVector::zero(); -- cgit 1.4.1-3-g733a5