Skip to content

Commit b5846cc

Browse files
committed
cargo fmt
1 parent c3ab203 commit b5846cc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

objdiff-core/src/arch/mips.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,7 @@ impl Arch for ArchMips {
293293
}
294294
elf::R_MIPS_PC16 => 0, // PC-relative relocation
295295
R_MIPS15_S3 => ((code & 0x001FFFC0) >> 3) as i64,
296-
elf::R_MIPS_GPREL32 => {
297-
(code as i32 as i64) + self.ri_gp_value as i64
298-
},
296+
elf::R_MIPS_GPREL32 => (code as i32 as i64) + self.ri_gp_value as i64,
299297
flags => bail!("Unsupported MIPS implicit relocation {flags:?}"),
300298
};
301299
Ok(Some(RelocationOverride { target: RelocationOverrideTarget::Keep, addend }))

0 commit comments

Comments
 (0)