Skip to content

Commit 39ba3a3

Browse files
committed
fix formatting
1 parent 376ab52 commit 39ba3a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/address.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl AddressLocator {
3737
}
3838
address = new_address;
3939
}
40-
40+
4141
Ok(address + final_offset[0])
4242
}
4343
}
@@ -71,7 +71,7 @@ impl Display for AddressLocator {
7171
Self::PointerChain(signature, pointers) => {
7272
let pointer_str = pointers
7373
.iter()
74-
.map(|pointer| format!("{pointer:X}"))
74+
.map(|pointer| format!("0x{pointer:X}"))
7575
.collect::<Vec<_>>()
7676
.join(" -> ");
7777
write!(f, "{signature} {pointer_str}")

0 commit comments

Comments
 (0)