From 4aac12b0e429fedb02a645e5eb82ca2d88902e25 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 25 Apr 2025 12:56:08 -0400 Subject: Fix misc rust formatting --- plugins/dwarf/dwarf_import/src/lib.rs | 17 ++++++++++++----- plugins/svd/src/lib.rs | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/dwarf/dwarf_import/src/lib.rs b/plugins/dwarf/dwarf_import/src/lib.rs index a35bef60..d51b4e1d 100644 --- a/plugins/dwarf/dwarf_import/src/lib.rs +++ b/plugins/dwarf/dwarf_import/src/lib.rs @@ -513,7 +513,10 @@ fn get_supplementary_build_id(bv: &BinaryView) -> Option { } } -fn parse_range_data_offsets(bv: &BinaryView, dwo_file: bool) -> Option, ()>> { +fn parse_range_data_offsets( + bv: &BinaryView, + dwo_file: bool, +) -> Option, ()>> { if bv.section_by_name(".eh_frame").is_some() || bv.section_by_name("__eh_frame").is_some() { let eh_frame_endian = get_endian(bv); let eh_frame_section_reader = |section_id: SectionId| -> _ { @@ -526,8 +529,10 @@ fn parse_range_data_offsets(bv: &BinaryView, dwo_file: bool) -> Option Option