auto merge of #4993 : thestinger/rust/deque, r=graydon
Closes #3748 and #2343.
This commit is contained in:
commit
a6945f2a45
3 changed files with 160 additions and 182 deletions
|
|
@ -11,10 +11,9 @@
|
|||
// except according to those terms.
|
||||
|
||||
extern mod std;
|
||||
use std::deque;
|
||||
use std::deque::Deque;
|
||||
|
||||
pub fn main() {
|
||||
let Q = deque::create();
|
||||
Q.add_back(10);
|
||||
let mut q = Deque::new();
|
||||
q.add_back(10);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue