diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-07-22 01:30:24 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-22 08:57:01 +0200 |
commit | 36e36507d50fd9d36670a855eaeb8f2a58a35131 (patch) | |
tree | 39690ac3760ecf16cc81cd25470665122ac31a89 /Userland/Libraries/LibWasm/Parser/Parser.cpp | |
parent | 31f30e732a947cabdefcd3a7d3758fa5ff3601fa (diff) | |
download | serenity-36e36507d50fd9d36670a855eaeb8f2a58a35131.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibWasm/Parser/Parser.cpp')
-rw-r--r-- | Userland/Libraries/LibWasm/Parser/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWasm/Parser/Parser.cpp b/Userland/Libraries/LibWasm/Parser/Parser.cpp index b16ea72ada..0560c9e1d5 100644 --- a/Userland/Libraries/LibWasm/Parser/Parser.cpp +++ b/Userland/Libraries/LibWasm/Parser/Parser.cpp @@ -158,7 +158,7 @@ ParseResult<FunctionType> FunctionType::parse(InputStream& stream) return with_eof_check(stream, ParseError::ExpectedKindTag); if (tag != Constants::function_signature_tag) { - dbgln("Expected 0x60, but found 0x{:x}", tag); + dbgln("Expected 0x60, but found {:#x}", tag); return with_eof_check(stream, ParseError::InvalidTag); } |