mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:25:06 +00:00
AK+Format: Do some housekeeping in the format implementation.
This commit is contained in:
parent
ac5e08a541
commit
6351a56d27
13 changed files with 476 additions and 640 deletions
|
@ -123,11 +123,6 @@ static constexpr auto is_not(char c)
|
|||
return [c](char ch) { return ch != c; };
|
||||
}
|
||||
|
||||
static constexpr auto is_any_of(StringView s)
|
||||
{
|
||||
return [s](char ch) { return s.contains(ch); };
|
||||
}
|
||||
|
||||
static inline char to_byte(char a, char b)
|
||||
{
|
||||
char buf[3] { a, b, 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue