Skip to content

Commit a9f6237

Browse files
committed
Fix: made suggested change
1 parent 05cd587 commit a9f6237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/asm/s390x.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ impl S390xInlineAsmReg {
101101
_arch: InlineAsmArch,
102102
_modifier: Option<char>,
103103
) -> fmt::Result {
104-
out.write_str(&format!("%{}", self.name()))
104+
write!(out, "%{}", self.name())
105105
}
106106
}

0 commit comments

Comments
 (0)