diff options
| author | linux1 <tmaloney@pdx.edu> | 2021-08-23 17:56:04 -0400 |
|---|---|---|
| committer | linux1 <tmaloney@pdx.edu> | 2021-08-23 17:56:04 -0400 |
| commit | a9f623707b8dcaba260b547e1950a4679b3b40eb (patch) | |
| tree | bcea8af96e5601e0e38c4879df2ec65d13d69a78 | |
| parent | 05cd587726b01415f50ab8def30ea07864298e13 (diff) | |
| download | rust-a9f623707b8dcaba260b547e1950a4679b3b40eb.tar.gz rust-a9f623707b8dcaba260b547e1950a4679b3b40eb.zip | |
Fix: made suggested change
| -rw-r--r-- | compiler/rustc_target/src/asm/s390x.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/asm/s390x.rs b/compiler/rustc_target/src/asm/s390x.rs index 5ed93c0c1a9..a74873f1747 100644 --- a/compiler/rustc_target/src/asm/s390x.rs +++ b/compiler/rustc_target/src/asm/s390x.rs @@ -101,6 +101,6 @@ impl S390xInlineAsmReg { _arch: InlineAsmArch, _modifier: Option<char>, ) -> fmt::Result { - out.write_str(&format!("%{}", self.name())) + write!(out, "%{}", self.name()) } } |
