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
commit 4a7236cabf
Notes: sideshowbarker 2024-07-17 03:03:15 +09:00
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
}