[BasicContainers, ContainersPreview, DequeModule] More SuppressedAssociatedTypesWithDefaults fixups

This commit is contained in:
Karoy Lorentey committed 2026-03-26 18:12:41 -07:00
1 parent 419e2f7df2
commit d2d3b917ca
26 files changed
+129 -42

No files matched your search

@@ -392,7 +392,9 @@ extension UniqueArray where Element: ~Copyable {
removing subrange: Range<Int>,
addingCount newItemCount: Int,
from producer: inout P
) throws(E) {
) throws(E)
where P.Element: ~Copyable
{
try replace(removing: subrange, addingCount: newItemCount) { target throws(E) in
while !target.isFull, try producer.generate(into: &target) {
// Do nothing