mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
de41123957
Previously resetting with `retain_capacity < @sizeOf(Node)` would create an invalid node. This is now fixed, plus `Node.size` now has its own `Size` type that provides additional safety via assertions to prevent bugs like this in the future.