mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
AK: Use StringBuilder::appendff() instead of appendf()
This commit is contained in:
parent
db0149056f
commit
764af6cdec
4 changed files with 11 additions and 11 deletions
|
@ -73,7 +73,7 @@ String encode_hex(ReadonlyBytes input)
|
|||
StringBuilder output(input.size() * 2);
|
||||
|
||||
for (auto ch : input)
|
||||
output.appendf("%02x", ch);
|
||||
output.appendff("{:02x}", ch);
|
||||
|
||||
return output.build();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue