mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
AK: Export ShouldChomp::NoChomp too
It's much more elegant to say 'should_chomp ? Chomp : NoChomp' than to say 'if (should_chomp) ...(..., Chomp) else ...(...)'.
This commit is contained in:
parent
2d9d883274
commit
c6ca8534a6
Notes:
sideshowbarker
2024-07-19 01:11:21 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/c6ca8534a66 Pull-request: https://github.com/SerenityOS/serenity/pull/4198 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/bugaevc
1 changed files with 1 additions and 0 deletions
|
@ -141,5 +141,6 @@ struct Formatter<StringImpl> : Formatter<StringView> {
|
|||
}
|
||||
|
||||
using AK::Chomp;
|
||||
using AK::NoChomp;
|
||||
using AK::string_hash;
|
||||
using AK::StringImpl;
|
||||
|
|
Loading…
Reference in a new issue