From 6fd9ef606f61f3162590ce66e1aa79319b44f2e9 Mon Sep 17 00:00:00 2001 From: Jacob Kiesel Date: Sun, 29 Sep 2024 00:06:40 -0600 Subject: [PATCH] no need to comma delimit this, it's already space delimited --- compiler/rustc_interface/src/passes.rs | 4 ++-- 1 file 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 hash_iter_files>( 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)?;