File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ where
353353 }
354354 }
355355 }
356- let mut builder = object:: build:: elf:: Builder :: read ( & * raw_elf) ?;
356+ let mut builder = object:: build:: elf:: Builder :: read ( raw_elf) ?;
357357
358358 // Remove original debug sections
359359 for section in builder. sections . iter_mut ( ) {
Original file line number Diff line number Diff line change @@ -1271,7 +1271,7 @@ fn ref_fixup_subroutine_tag(
12711271 let return_type = return_type. unwrap_or_else ( || Type {
12721272 kind : TypeKind :: Fundamental ( FundType :: Void ) ,
12731273 modifiers : vec ! [ ] ,
1274- entry_id : dwarf2_types. fundamental_map . get ( & FundType :: Void ) . unwrap ( ) . clone ( ) ,
1274+ entry_id : * dwarf2_types. fundamental_map . get ( & FundType :: Void ) . unwrap ( ) ,
12751275 } ) ;
12761276
12771277 let mut name_written = false ;
@@ -2459,5 +2459,5 @@ fn get_start_end_adress_of_parent(
24592459 if * start_address == * end_address { * end_address + 4 } else { * end_address } ;
24602460 return Some ( ( * start_address, end_address_to_use) ) ;
24612461 }
2462- return None ;
2462+ None
24632463}
You can’t perform that action at this time.
0 commit comments