]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_driver/driver.rs
Change some instances of .connect() to .join()
[rust.git] / src / librustc_driver / driver.rs
index 9541076df82be575eb3e80b12858558ca25bc949..67301a09e52bf63a6e10225e3a25bf815f62c2b8 100644 (file)
@@ -843,7 +843,7 @@ fn write_out_deps(sess: &Session,
         let mut file = try!(fs::File::create(&deps_filename));
         for path in &out_filenames {
             try!(write!(&mut file,
-                        "{}: {}\n\n", path.display(), files.connect(" ")));
+                        "{}: {}\n\n", path.display(), files.join(" ")));
         }
         Ok(())
     })();