mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibGUI: Use String::formatted() and String::number() more
This commit is contained in:
parent
5e157eaf37
commit
f181ddb56a
9 changed files with 17 additions and 20 deletions
|
@ -61,7 +61,7 @@ inline const LogStream& operator<<(const LogStream& stream, const TextPosition&
|
|||
{
|
||||
if (!value.is_valid())
|
||||
return stream << "GUI::TextPosition(Invalid)";
|
||||
return stream << String::format("(%zu,%zu)", value.line(), value.column());
|
||||
return stream << String::formatted("({},{})", value.line(), value.column());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue