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:
AnotherTest 2020-11-28 18:07:44 +03:30 committed by Andreas Kling
parent 2d9d883274
commit c6ca8534a6
Notes: sideshowbarker 2024-07-19 01:11:21 +09:00

View file

@ -141,5 +141,6 @@ struct Formatter<StringImpl> : Formatter<StringView> {
}
using AK::Chomp;
using AK::NoChomp;
using AK::string_hash;
using AK::StringImpl;