From 14f656d1a79fb36ce5435976dd33f57dd09cb9ce Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 20 Mar 2014 03:35:51 -0400 Subject: rename std::vec_ng -> std::vec Closes #12771 --- src/libsyntax/util/interner.rs | 2 +- src/libsyntax/util/parser_testing.rs | 2 +- src/libsyntax/util/small_vector.rs | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libsyntax/util') 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 { priv map: RefCell>, 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 { 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 { @@ -114,7 +114,7 @@ impl SmallVector { pub enum MoveItems { priv ZeroIterator, priv OneIterator(T), - priv ManyIterator(vec_ng::MoveItems), + priv ManyIterator(vec::MoveItems), } impl Iterator for MoveItems { @@ -146,7 +146,7 @@ impl Iterator for MoveItems { mod test { use super::*; - use std::vec_ng::Vec; + use std::vec::Vec; #[test] fn test_len() { -- cgit 1.4.1-3-g733a5