Update UniqueArray+Append.swift

This commit is contained in:
Alejandro Alonso committed 2026-08-12 14:07:15 -07:00
1 parent 6c7ebb3cb9
commit 1b511f7652
1 file changed
+1 -1
@@ -131,7 +131,7 @@ extension UniqueArray where Element: ~Copyable {
_ensureFreeCapacity(items.count)
items.withUnsafeMutableBufferPointer { buffer, count in
let source = buffer._extracting(first: count)
unsafe _appendUnchecked(moving: source)
unsafe _storage._appendUnchecked(moving: source)
count = 0
}
}