Convert uses of str::connect to str::connect_ivec
This commit is contained in:
parent
09cc957030
commit
369be5c8df
2 changed files with 8 additions and 8 deletions
|
|
@ -47,9 +47,9 @@ fn ty_to_str(cx: &ctxt, typ: &t) -> str {
|
|||
let s = proto_to_str(proto);
|
||||
alt ident { some(i) { s += " "; s += i; } _ { } }
|
||||
s += "(";
|
||||
let strs = [];
|
||||
for a: arg in inputs { strs += [fn_input_to_str(cx, a)]; }
|
||||
s += str::connect(strs, ", ");
|
||||
let strs = ~[];
|
||||
for a: arg in inputs { strs += ~[fn_input_to_str(cx, a)]; }
|
||||
s += str::connect_ivec(strs, ", ");
|
||||
s += ")";
|
||||
if struct(cx, output) != ty_nil {
|
||||
alt cf {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue