0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

aro: avoid BoundedArray in text_literal

I consider this change to be neutral. It inlines a bit of logic that
previously was abstracted, however, it also eliminates an instance of
`catch unreachable` as well as a clumsy failed pop / append in favor of
writing directly to the appropriate array element.
This commit is contained in:
Andrew Kelley 2023-11-21 21:42:58 -07:00
commit 44ae978523
2 changed files with 20 additions and 8 deletions