Continue migrating the std #fmt interface to ivecs

Only thing left is to remove some duplicate interfaces in std::extfmt::rt
after the next snapshot
This commit is contained in:
Brian Anderson 2011-08-15 15:45:52 -07:00
parent 46658c4a9c
commit bab29af449
2 changed files with 24 additions and 32 deletions

View file

@ -182,7 +182,7 @@ fn pieces_to_expr(cx: &ext_ctxt, sp: span, pieces: &[piece],
}
fn make_conv_call(cx: &ext_ctxt, sp: span, conv_type: str, cnv: &conv,
arg: @ast::expr) -> @ast::expr {
let fname = "conv_" + conv_type + "_ivec";
let fname = "conv_" + conv_type;
let path = make_path_vec(cx, fname);
let cnv_expr = make_rt_conv_expr(cx, sp, cnv);
let args = ~[cnv_expr, arg];