diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-19 23:23:00 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-20 09:30:14 -0700 |
| commit | da3625161d8f8bcb2f43d703eec8d002d0bb9c87 (patch) | |
| tree | 4d1a336aa48054131a90cda34ecd71ff309a3616 /src/libsyntax/util | |
| parent | 7a5a8c3c0776636aef8e1d98dfed5e96573ea544 (diff) | |
| download | rust-da3625161d8f8bcb2f43d703eec8d002d0bb9c87.tar.gz rust-da3625161d8f8bcb2f43d703eec8d002d0bb9c87.zip | |
Removing imports of std::vec_ng::Vec
It's now in the prelude.
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/interner.rs | 1 | ||||
| -rw-r--r-- | src/libsyntax/util/parser_testing.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/util/small_vector.rs | 3 |
3 files changed, 0 insertions, 6 deletions
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<T> { priv map: RefCell<HashMap<T, Name>>, 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<ast::TokenTree> { 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<T> Iterator<T> for MoveItems<T> { mod test { use super::*; - use std::vec::Vec; - #[test] fn test_len() { let v: SmallVector<int> = SmallVector::zero(); |
