Skip to content

Commit 3b8d8b7

Browse files
authored
Update Collection.swift
1 parent 0ce01d5 commit 3b8d8b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/public/core/Collection.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,5 @@ extension Collection where SubSequence == Self {
16691669
"Can't remove more items from a collection than it contains")
16701670
}
16711671
self = self[idx..<endIndex]
1672-
"Can't remove more items from a collection than it contains")
1673-
self = self[index(startIndex, offsetBy: k)..<endIndex]
16741672
}
16751673
}

0 commit comments

Comments
 (0)