Remove the global 'vec::to_owned' function

This commit is contained in:
Alex Crichton
2013-07-12 00:53:03 -07:00
committed by Daniel Micay
parent 2b96408600
commit 1ec06e0124
19 changed files with 31 additions and 48 deletions

View File

@@ -19,8 +19,6 @@ use ext::base::*;
use parse;
use parse::token;
use std::vec;
enum State {
Asm,
Outputs,
@@ -43,7 +41,7 @@ pub fn expand_asm(cx: @ExtCtxt, sp: span, tts: &[ast::token_tree])
-> base::MacResult {
let p = parse::new_parser_from_tts(cx.parse_sess(),
cx.cfg(),
vec::to_owned(tts));
tts.to_owned());
let mut asm = @"";
let mut outputs = ~[];