]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/trans/type_of.rs
Change some instances of .connect() to .join()
[rust.git] / src / librustc_trans / trans / type_of.rs
index 4359a8d270da260c7283fc320cf2b21be8338fbd..36905ffe93b942a320e106c6d9be06559f44715e 100644 (file)
@@ -457,7 +457,7 @@ fn llvm_type_name<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
     let tstr = if strings.is_empty() {
         base
     } else {
-        format!("{}<{}>", base, strings.connect(", "))
+        format!("{}<{}>", base, strings.join(", "))
     };
 
     if did.krate == 0 {