File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ impl DataType {
185185 }
186186
187187 for ( encoding, encoding_name) in SUPPORTED_ENCODINGS {
188- let ( cow, _, had_errors) = encoding. decode ( & bytes) ;
188+ let ( cow, _, had_errors) = encoding. decode ( bytes) ;
189189 // Avoid showing ASCII-only strings more than once if the encoding is ASCII-compatible.
190190 if !had_errors && ( !encoding. is_ascii_compatible ( ) || !cow. is_ascii ( ) ) {
191191 let mut string = format ! ( "{cow}" ) ;
Original file line number Diff line number Diff line change @@ -355,7 +355,9 @@ impl Arch for ArchPpc {
355355 }
356356
357357 fn guess_data_type ( & self , resolved : ResolvedInstructionRef , bytes : & [ u8 ] ) -> Option < DataType > {
358- if resolved. relocation . is_some_and ( |r| r. symbol . name . starts_with ( "@stringBase" ) || r. symbol . name . starts_with ( "$SG" ) ) {
358+ if resolved. relocation . is_some_and ( |r| {
359+ r. symbol . name . starts_with ( "@stringBase" ) || r. symbol . name . starts_with ( "$SG" )
360+ } ) {
359361 // Pooled string.
360362 return Some ( DataType :: String ) ;
361363 }
You can’t perform that action at this time.
0 commit comments