mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Everywhere: Prefer using {:#x} over 0x{:x}
We have a dedicated format specifier which adds the "0x" prefix, so let's use that instead of adding it manually.
This commit is contained in:
parent
31f30e732a
commit
36e36507d5
12 changed files with 23 additions and 23 deletions
|
@ -510,7 +510,7 @@ public:
|
|||
|
||||
const String to_string() const
|
||||
{
|
||||
return String::formatted("[0x{:02X}] {}", (int)opcode_id(), name(opcode_id()));
|
||||
return String::formatted("[{:#02X}] {}", (int)opcode_id(), name(opcode_id()));
|
||||
}
|
||||
|
||||
virtual const String arguments_string() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue