1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibIMAP: Rename Parser::try_consume() to consume_if()

This commit is contained in:
Tim Ledbetter 2023-10-07 23:43:06 +01:00 committed by Andrew Kaster
parent f97c4d20fa
commit 29c477598c
2 changed files with 58 additions and 58 deletions

View file

@ -26,7 +26,7 @@ private:
static MailboxFlag parse_mailbox_flag(StringView);
void consume(StringView);
bool try_consume(StringView);
bool consume_if(StringView);
StringView consume_while(Function<bool(u8)> should_consume);
StringView consume_until_end_of_line();