summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_target/src/asm/arm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_target/src/asm/arm.rs')
-rw-r--r--compiler/rustc_target/src/asm/arm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/asm/arm.rs b/compiler/rustc_target/src/asm/arm.rs
index 0db3eb6fc..ec7429a30 100644
--- a/compiler/rustc_target/src/asm/arm.rs
+++ b/compiler/rustc_target/src/asm/arm.rs
@@ -249,7 +249,7 @@ impl ArmInlineAsmReg {
let index = self as u32 - Self::q0 as u32;
assert!(index < 16);
let index = index * 2 + (modifier == 'f') as u32;
- write!(out, "d{}", index)
+ write!(out, "d{index}")
} else {
out.write_str(self.name())
}