mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
The original code was invoking `_closeGap` with an incorrect size (from `append` rather than `replace`), leading to runtime traps and potential memory safety issues if the `resize` invocation ends up underfilling the container.