From ace238f0ea5598f414dfed8c5fa1706c87564770 Mon Sep 17 00:00:00 2001 From: OndrikB Date: Sat, 10 Aug 2024 21:29:33 +0200 Subject: [PATCH] Run cargo fmt I am extremely sorry, this is my first time really contributing to such a project. --- src/write/coff/object.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/write/coff/object.rs b/src/write/coff/object.rs index 8f36d9d0..77f1fbb4 100644 --- a/src/write/coff/object.rs +++ b/src/write/coff/object.rs @@ -654,10 +654,9 @@ impl<'a> Object<'a> { length: section.size as u32, number_of_relocations: section.relocations.len() as u32, number_of_linenumbers: 0, - check_sum: if section.is_bss() { - 0 - } - else { + check_sum: if section.is_bss() { + 0 + } else { checksum(section.data()) }, number: section_offsets[section_index].associative_section,