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:
parent
9393a83323
commit
44ae978523
2 changed files with 20 additions and 8 deletions
4
deps/aro/aro/Parser.zig
vendored
4
deps/aro/aro/Parser.zig
vendored
24
deps/aro/aro/text_literal.zig
vendored
24
deps/aro/aro/text_literal.zig
vendored
Loading…
Add table
Add a link
Reference in a new issue