Remove the global 'vec::to_owned' function
This commit is contained in:
committed by
Daniel Micay
parent
2b96408600
commit
1ec06e0124
@@ -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 = ~[];
|
||||
|
||||
Reference in New Issue
Block a user