auto merge of #13020 : alexcrichton/rust/vec, r=brson

The commits have the details.
This commit is contained in:
bors 2014-03-20 09:51:44 -07:00
commit b568efc0cf
183 changed files with 12 additions and 231 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]);