diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-03-20 03:35:51 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-03-20 04:25:32 -0400 |
| commit | 14f656d1a79fb36ce5435976dd33f57dd09cb9ce (patch) | |
| tree | bfc7750a0918b56b8e6cd61624dd4917e5cd1075 /src/libsyntax/util | |
| parent | 7aded2adb6782d8188a631250ab8d72c82bd070c (diff) | |
| download | rust-14f656d1a79fb36ce5435976dd33f57dd09cb9ce.tar.gz rust-14f656d1a79fb36ce5435976dd33f57dd09cb9ce.zip | |
rename std::vec_ng -> std::vec
Closes #12771
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/interner.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/util/parser_testing.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/util/small_vector.rs | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index c1ed96fe4de..8a8bf1fdfb3 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -21,7 +21,7 @@ use std::cmp::Equiv; use std::fmt; use std::hash::Hash; use std::rc::Rc; -use std::vec_ng::Vec; +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 658e9709750..13590542dac 100644 --- a/src/libsyntax/util/parser_testing.rs +++ b/src/libsyntax/util/parser_testing.rs @@ -15,7 +15,7 @@ use parse::{new_parser_from_source_str}; use parse::parser::Parser; use parse::token; -use std::vec_ng::Vec; +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> { diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs index f15b7dd5563..72faaee64ff 100644 --- a/src/libsyntax/util/small_vector.rs +++ b/src/libsyntax/util/small_vector.rs @@ -9,8 +9,8 @@ // except according to those terms. use std::mem; -use std::vec_ng::Vec; -use std::vec_ng; +use std::vec::Vec; +use std::vec; /// A vector type optimized for cases where the size is almost always 0 or 1 pub enum SmallVector<T> { @@ -114,7 +114,7 @@ impl<T> SmallVector<T> { pub enum MoveItems<T> { priv ZeroIterator, priv OneIterator(T), - priv ManyIterator(vec_ng::MoveItems<T>), + priv ManyIterator(vec::MoveItems<T>), } impl<T> Iterator<T> for MoveItems<T> { @@ -146,7 +146,7 @@ impl<T> Iterator<T> for MoveItems<T> { mod test { use super::*; - use std::vec_ng::Vec; + use std::vec::Vec; #[test] fn test_len() { |
