Tidy up unneeded commmas.
This commit is contained in:
@@ -79,11 +79,11 @@ impl binemit::CodeSink for TextSink {
|
|||||||
name: &ir::ExternalName,
|
name: &ir::ExternalName,
|
||||||
addend: binemit::Addend,
|
addend: binemit::Addend,
|
||||||
) {
|
) {
|
||||||
write!(self.text, "{}({}", reloc, name,).unwrap();
|
write!(self.text, "{}({}", reloc, name).unwrap();
|
||||||
if addend != 0 {
|
if addend != 0 {
|
||||||
write!(self.text, "{:+}", addend,).unwrap();
|
write!(self.text, "{:+}", addend).unwrap();
|
||||||
}
|
}
|
||||||
write!(self.text, ") ",).unwrap();
|
write!(self.text, ") ").unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn reloc_jt(&mut self, reloc: binemit::Reloc, jt: ir::JumpTable) {
|
fn reloc_jt(&mut self, reloc: binemit::Reloc, jt: ir::JumpTable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user