mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
LibIMAP: Remove needless conversion to DeprecatedString
We're comparing the return value to StringViews right after, so there is no need to do the conversion twice.
This commit is contained in:
parent
6128e859ac
commit
c2ed1547ba
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ void Parser::parse_untagged()
|
|||
auto number = try_parse_number();
|
||||
if (number.has_value()) {
|
||||
consume(" "sv);
|
||||
auto data_type = parse_atom().to_deprecated_string();
|
||||
auto data_type = parse_atom();
|
||||
if (data_type == "EXISTS"sv) {
|
||||
m_response.data().set_exists(number.value());
|
||||
consume("\r\n"sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue