about summary refs log tree commit diff
path: root/src/libsyntax/util
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-20 09:51:44 -0700
committerbors <bors@rust-lang.org>2014-03-20 09:51:44 -0700
commitb568efc0cf173ac7b2d37284beda5fdf8a7686ab (patch)
tree415a907e4fe835d78e4bfb2e3581010a33eed192 /src/libsyntax/util
parentc01e2f05a3ef27e464d1f0057ddabcde6ffde70c (diff)
parentda3625161d8f8bcb2f43d703eec8d002d0bb9c87 (diff)
downloadrust-b568efc0cf173ac7b2d37284beda5fdf8a7686ab.tar.gz
rust-b568efc0cf173ac7b2d37284beda5fdf8a7686ab.zip
auto merge of #13020 : alexcrichton/rust/vec, r=brson
The commits have the details.
Diffstat (limited to 'src/libsyntax/util')
-rw-r--r--src/libsyntax/util/interner.rs1
-rw-r--r--src/libsyntax/util/parser_testing.rs2
-rw-r--r--src/libsyntax/util/small_vector.rs3
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();