about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-02-18 01:29:23 -0800
committerGitHub <noreply@github.com>2025-02-18 01:29:23 -0800
commitfa53181f424f167b8aafc78bcb6b75356d3c5748 (patch)
tree26dc4a4cb9e4b96882b9359d94540ad8f13a54e1
parent59e9eb9b2bce23fb948a3944adb127206e73d1e4 (diff)
downloadrust-fa53181f424f167b8aafc78bcb6b75356d3c5748.tar.gz
rust-fa53181f424f167b8aafc78bcb6b75356d3c5748.zip
cg_clif: Tweak formatting of global comments
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
-rw-r--r--compiler/rustc_codegen_cranelift/src/abi/comments.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/abi/comments.rs b/compiler/rustc_codegen_cranelift/src/abi/comments.rs
index e2c9f40d147..c74efeb59f3 100644
--- a/compiler/rustc_codegen_cranelift/src/abi/comments.rs
+++ b/compiler/rustc_codegen_cranelift/src/abi/comments.rs
@@ -84,13 +84,13 @@ pub(super) fn add_local_place_comments<'tcx>(
     let (kind, extra) = place.debug_comment();
 
     fx.add_global_comment(format!(
-        "{:<5} {:5} {:30} {:4}b {}, {}{}",
+        "{:<5} {:5} {:30} {:4}b {}{}{}",
         kind,
         format!("{:?}", local),
         format!("{:?}", ty),
         size.bytes(),
         align.abi.bytes(),
-        if extra.is_empty() { "" } else { "              " },
+        if extra.is_empty() { "" } else { "                " },
         extra,
     ));
 }