about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Kiesel <jake@bitcrafters.co>2024-09-29 00:06:40 -0600
committerJacob Kiesel <jake@bitcrafters.co>2024-10-01 21:24:06 -0600
commit6fd9ef606f61f3162590ce66e1aa79319b44f2e9 (patch)
tree17933d315abbb00828e27edfdfb37b4f1d715a7a
parent6708d56fd2d5f937bc4b137757f18cd7c8dbd06b (diff)
downloadrust-6fd9ef606f61f3162590ce66e1aa79319b44f2e9.tar.gz
rust-6fd9ef606f61f3162590ce66e1aa79319b44f2e9.zip
no need to comma delimit this, it's already space delimited
-rw-r--r--compiler/rustc_interface/src/passes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 5a8ea410a63..7429893b51f 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -554,14 +554,14 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
                         files.iter().all(|(_path, _file_len, hash_algo)| hash_algo.is_some()),
                         "all files must have a checksum hash computed to output checksum hashes"
                     );
-                    write!(file, " # ")?;
+                    write!(file, " #")?;
                     files
                         .iter()
                         .filter_map(|(_path, file_len, hash_algo)| {
                             hash_algo.map(|hash_algo| (path, file_len, hash_algo))
                         })
                         .try_for_each(|(_path, file_len, checksum_hash)| {
-                            write!(file, "checksum:{checksum_hash} file_len:{file_len}, ")
+                            write!(file, " checksum:{checksum_hash} file_len:{file_len}")
                         })?;
                 }
                 writeln!(file)?;