mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 07:42:07 +00:00
A bunch of users used consume_specific with a constant ByteString
literal, which can be replaced by an allocation-free StringView literal.
The generic consume_while overload gains a requires clause so that
consume_specific("abc") causes a more understandable and actionable
error.
|
||
|---|---|---|
| .. | ||
| Applier.cpp | ||
| Applier.h | ||
| CMakeLists.txt | ||
| Format.cpp | ||
| Format.h | ||
| Forward.h | ||
| Generator.cpp | ||
| Generator.h | ||
| Hunks.cpp | ||
| Hunks.h | ||