Removing imports of std::vec_ng::Vec

It's now in the prelude.
This commit is contained in:
Alex Crichton 2014-03-19 23:23:00 -07:00
parent 7a5a8c3c07
commit da3625161d
182 changed files with 10 additions and 230 deletions

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::vec::Vec;
fn main() {
let mut v = vec!(1);
let f = || v.push(2);

View file

@ -10,7 +10,6 @@
use std::cell::Cell;
use std::ops::{Deref, DerefMut};
use std::vec::Vec;
#[deriving(Eq)]
struct DerefCounter<T> {

View file

@ -14,8 +14,6 @@
static CONSTEXPR: *int = &'static 413 as *_;
pub fn main() {
use std::vec::Vec;
let x: Vec<_> = range(0u, 5).collect();
assert_eq!(x.as_slice(), &[0u,1,2,3,4]);