mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
TelnetServer: Convert String::format() => String::formatted()
This commit is contained in:
parent
83d3003208
commit
e924da6c73
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ struct Command {
|
|||
builder.append("DONT");
|
||||
break;
|
||||
default:
|
||||
builder.append(String::format("UNKNOWN<%02x>", command));
|
||||
builder.append(String::formatted("UNKNOWN<{:02x}>", command));
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@ struct Command {
|
|||
builder.append("SUPPRESS_GO_AHEAD");
|
||||
break;
|
||||
default:
|
||||
builder.append(String::format("UNKNOWN<%02x>", subcommand));
|
||||
builder.append(String::formatted("UNKNOWN<{:02x}>", subcommand));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue