1
Fork 0
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:
Andreas Kling 2021-02-09 16:08:11 +01:00
parent db0149056f
commit 764af6cdec
4 changed files with 11 additions and 11 deletions

View file

@ -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();
}