diff --git a/stdlib/public/core/RangeReplaceableCollection.swift b/stdlib/public/core/RangeReplaceableCollection.swift index 44c0df62aa7e5..91d336c588627 100644 --- a/stdlib/public/core/RangeReplaceableCollection.swift +++ b/stdlib/public/core/RangeReplaceableCollection.swift @@ -453,15 +453,8 @@ extension RangeReplaceableCollection { @inlinable public mutating func append(contentsOf newElements: __owned S) where S.Element == Element { - - let done:Void? = newElements.withContiguousStorageIfAvailable { - replaceSubrange(endIndex..