From 369be5c8dfdb07e86f21aa8dc7d92d62adff0df9 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 11 Aug 2011 17:54:42 -0700 Subject: Convert uses of str::connect to str::connect_ivec --- src/comp/util/ppaux.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/comp') diff --git a/src/comp/util/ppaux.rs b/src/comp/util/ppaux.rs index cf63cacb86d..cb51fd3ce18 100644 --- a/src/comp/util/ppaux.rs +++ b/src/comp/util/ppaux.rs @@ -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 { -- cgit 1.4.1-3-g733a5