mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Kernel: Convert a bunch of String::format() => String::formatted()
This commit is contained in:
parent
0ae9ae48fa
commit
7c4ddecacb
Notes:
sideshowbarker
2024-07-18 23:55:19 +09:00
Author: https://github.com/awesomekling
Commit: 7c4ddecacb
14 changed files with 22 additions and 33 deletions
|
@ -90,7 +90,7 @@ KResultOr<size_t> InodeWatcher::write(FileDescription&, size_t, const UserOrKern
|
|||
String InodeWatcher::absolute_path(const FileDescription&) const
|
||||
{
|
||||
if (auto inode = m_inode.strong_ref())
|
||||
return String::format("InodeWatcher:%s", inode->identifier().to_string().characters());
|
||||
return String::formatted("InodeWatcher:{}", inode->identifier().to_string());
|
||||
return "InodeWatcher:(gone)";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue