From 35aedf393726e523c846400a58e7b06a29382cd6 Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Mon, 12 Oct 2026 11:29:41 -0700 Subject: [PATCH] Remove unnecessary explanation --- .../Protocols/Container/RangeReplaceableContainer.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/ContainersPreview/Protocols/Container/RangeReplaceableContainer.swift b/Sources/ContainersPreview/Protocols/Container/RangeReplaceableContainer.swift index d6a886d8..883ed98a 100644 --- a/Sources/ContainersPreview/Protocols/Container/RangeReplaceableContainer.swift +++ b/Sources/ContainersPreview/Protocols/Container/RangeReplaceableContainer.swift @@ -578,10 +578,6 @@ where var c = items.count var i = items.startIndex let range = self.replaceSubrange(subrange, addingCount: c) { target in - // A source container may be split across several spans. Keep copying - // until this output span is full or the source is exhausted; a single - // `nextSpan` leaves the remaining spans uncopied and trips the - // precondition below. while !target.isFull { let source = items.nextSpan(after: &i, maxCount: target.freeCapacity) if source.isEmpty { break }