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
Notes: sideshowbarker 2024-07-19 02:01:23 +09:00
5 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@
String ManualSectionNode::path() const
{
return String::format("/usr/share/man/man%s", m_section.characters());
return String::formatted("/usr/share/man/man{}", m_section);
}
void ManualSectionNode::reify_if_needed() const