mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:18:12 +00:00
LibWeb: Convert a bunch of String::format() => String::formatted()
This commit is contained in:
parent
bd57fff6d4
commit
5e157eaf37
7 changed files with 10 additions and 13 deletions
|
@ -151,7 +151,7 @@ public:
|
|||
{
|
||||
if (is_auto())
|
||||
return "[auto]";
|
||||
return String::format("[%g %s]", m_value, unit_name());
|
||||
return String::formatted("[{} {}]", m_value, unit_name());
|
||||
}
|
||||
|
||||
bool operator==(const Length& other) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue