parent
7aded2adb6
commit
14f656d1a7
174 changed files with 290 additions and 287 deletions
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use std::vec_ng::Vec;
|
||||
use std::vec::Vec;
|
||||
|
||||
fn main() {
|
||||
let mut v = vec!(1);
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
use std::cell::Cell;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use std::vec_ng::Vec;
|
||||
use std::vec::Vec;
|
||||
|
||||
#[deriving(Eq)]
|
||||
struct DerefCounter<T> {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
use std::cell::Cell;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use std::vec_ng::Vec;
|
||||
use std::vec::Vec;
|
||||
|
||||
struct DerefCounter<T> {
|
||||
count_imm: Cell<uint>,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
static CONSTEXPR: *int = &'static 413 as *_;
|
||||
|
||||
pub fn main() {
|
||||
use std::vec_ng::Vec;
|
||||
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