@@ -49,7 +49,7 @@ fn ty_to_str(cx: &ctxt, typ: &t) -> str {
49
49
s += "(" ;
50
50
let strs = ~[ ] ;
51
51
for a: arg in inputs { strs += ~[ fn_input_to_str ( cx, a) ] ; }
52
- s += str:: connect_ivec ( strs, ", " ) ;
52
+ s += str:: connect ( strs, ", " ) ;
53
53
s += ")" ;
54
54
if struct ( cx, output) != ty_nil {
55
55
alt cf {
@@ -101,7 +101,7 @@ fn ty_to_str(cx: &ctxt, typ: &t) -> str {
101
101
ty_rec ( elems) {
102
102
let strs: [ str ] = ~[ ] ;
103
103
for fld: field in elems { strs += ~[ field_to_str ( cx, fld) ] ; }
104
- s += "{" + str:: connect_ivec ( strs, "," ) + "}" ;
104
+ s += "{" + str:: connect ( strs, "," ) + "}" ;
105
105
}
106
106
ty_tag ( id, tps) {
107
107
// The user should never see this if the cname is set properly!
@@ -110,7 +110,7 @@ fn ty_to_str(cx: &ctxt, typ: &t) -> str {
110
110
if ivec:: len[ t] ( tps) > 0 u {
111
111
let strs: [ str ] = ~[ ] ;
112
112
for typ: t in tps { strs += ~[ ty_to_str ( cx, typ) ] ; }
113
- s += "[" + str:: connect_ivec ( strs, "," ) + "]" ;
113
+ s += "[" + str:: connect ( strs, "," ) + "]" ;
114
114
}
115
115
}
116
116
ty_fn ( proto, inputs, output, cf, constrs) {
@@ -124,7 +124,7 @@ fn ty_to_str(cx: &ctxt, typ: &t) -> str {
124
124
ty_obj ( meths) {
125
125
let strs = ~[ ] ;
126
126
for m: method in meths { strs += ~[ method_to_str ( cx, m) ] ; }
127
- s += "obj {\n \t " + str:: connect_ivec ( strs, "\n \t " ) + "\n }" ;
127
+ s += "obj {\n \t " + str:: connect ( strs, "\n \t " ) + "\n }" ;
128
128
}
129
129
ty_res ( id, _, _) {
130
130
s +=
0 commit comments