1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +00:00

Everywhere: Use '_{short_,}string' literals more

This mostly updates code what was written before but merged after these
were added.
This commit is contained in:
Linus Groh 2023-02-28 13:50:29 +00:00
parent d0ba5f2ed7
commit 51c3967516
15 changed files with 94 additions and 95 deletions

View file

@ -353,7 +353,7 @@ struct Token {
{
return {
.type = Type::Newline,
.value = String::from_utf8_short_string("\n"sv),
.value = "\n"_short_string,
.position = {},
.expansions = {},
.original_text = {},