mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Use MemoryLayout.stride instead pf MemoryLayout.size. This fixes a buffer overflow bug in case of unaligned elements. Plus some other bug fixes for stacklists which get larger than a single slab. Also, add the `append(contentsOf:)` method.
3.9 KiB
3.9 KiB