mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +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
|
@ -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