1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 01:47:34 +00:00

LibRegex: Remove some else-after-returns

This commit is contained in:
Hendiadyoin1 2021-12-21 17:54:45 +01:00 committed by Brian Gianforcaro
parent b674de6957
commit a2563496f5
4 changed files with 44 additions and 44 deletions

View file

@ -121,9 +121,9 @@ public:
[&](auto const&) {
if (code_point <= 0x7f)
return 1;
else if (code_point <= 0x07ff)
if (code_point <= 0x07ff)
return 2;
else if (code_point <= 0xffff)
if (code_point <= 0xffff)
return 3;
return 4;
});