1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 19:57:36 +00:00

Everywhere: Prefer _string when constructing strings from literals

This commit is contained in:
Tim Ledbetter 2024-02-07 17:53:38 +00:00 committed by Tim Flynn
parent bb9da0ed8d
commit 4a7236cabf
4 changed files with 13 additions and 13 deletions

View file

@ -20,7 +20,7 @@ ErrorOr<String> read_long_version_string()
return String::formatted("Version {} revision {}", version, git_hash);
#else
return String::from_utf8("Version 1.0"sv);
return "Version 1.0"_string;
#endif
}