Skip to content

Commit 5efc2da

Browse files
committed
_onFastPath, in inlineable code, will end up applying to the caller. We don't want that, so omit it
1 parent 465aa22 commit 5efc2da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/public/core/RangeReplaceableCollection.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ extension RangeReplaceableCollection {
455455
where S.Element == Element {
456456

457457
let done:Void? = newElements.withContiguousStorageIfAvailable {
458-
_onFastPath()
459458
replaceSubrange(endIndex..<endIndex, with: $0)
460459
}
461460

0 commit comments

Comments
 (0)