mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
I've run into this footgun enough times, nearly every time I want `ensureUnusedCapacity`, not `ensureCapacity`. This commit deprecates `ensureCapacity` in favor of `ensureTotalCapacity` and introduces `ensureUnusedCapacity`.
1250 lines
47 KiB
1250 lines
47 KiB