Removing imports of std::vec_ng::Vec
It's now in the prelude.
This commit is contained in:
parent
7a5a8c3c07
commit
da3625161d
182 changed files with 10 additions and 230 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
use std::cell::Cell;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use std::vec::Vec;
|
||||
|
||||
#[deriving(Eq)]
|
||||
struct DerefCounter<T> {
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue