1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:05:08 +00:00

Help: Use new format functions.

This commit is contained in:
asynts 2020-10-05 18:05:35 +02:00 committed by Andreas Kling
parent 30b9dff5aa
commit c776d76b71
5 changed files with 7 additions and 7 deletions

View file

@ -40,5 +40,5 @@ NonnullOwnPtrVector<ManualNode>& ManualPageNode::children() const
String ManualPageNode::path() const
{
return String::format("%s/%s.md", m_section.path().characters(), m_page.characters());
return String::formatted("{}/{}.md", m_section.path(), m_page);
}