From 01edd5af67df3716d3558cce5c7e3bc6516688a2 Mon Sep 17 00:00:00 2001 From: David Mak Date: Fri, 29 Nov 2024 15:42:51 +0800 Subject: [PATCH] [meta] Apply rustfmt changes --- nac3ld/src/dwarf.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nac3ld/src/dwarf.rs b/nac3ld/src/dwarf.rs index f29ac6d26..e85a4e40e 100644 --- a/nac3ld/src/dwarf.rs +++ b/nac3ld/src/dwarf.rs @@ -439,8 +439,7 @@ impl<'a> EH_Frame_Hdr<'a> { writer.write_u8(0x03); // fde_count_enc - 4-byte unsigned value writer.write_u8(0x3B); // table_enc - .eh_frame_hdr section-relative 4-byte signed value - let eh_frame_offset = eh_frame_addr.wrapping_sub( - eh_frame_hdr_addr + writer.offset as u32); + let eh_frame_offset = eh_frame_addr.wrapping_sub(eh_frame_hdr_addr + writer.offset as u32); writer.write_u32(eh_frame_offset); // eh_frame_ptr writer.write_u32(0); // `fde_count`, will be written in finalize_fde