cargo fmt

This commit is contained in:
Nick Lewycky
2020-06-18 16:46:45 -07:00
parent b527127d0f
commit 84b32ed2cd
2 changed files with 7 additions and 5 deletions

View File

@ -98,7 +98,10 @@ impl Compiler for LLVMCompiler {
)
}
}
if compiled_function.eh_frame_section_indices.contains(&section_index) {
if compiled_function
.eh_frame_section_indices
.contains(&section_index)
{
let offset = frame_section_bytes.len() as u32;
for mut reloc in &mut custom_section.relocations {
reloc.offset += offset;