mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
IterableIterator_ → BorrowingIterator_
This commit is contained in:
36 files changed
+86
-86
No files matched your search
@@ -266,7 +266,7 @@ extension UniqueArray {
|
||||
) throws(Source.Failure_)
|
||||
where Source.Element_ == Element {
|
||||
_ensureFreeCapacity(newElements.underestimatedCount_)
|
||||
var it = newElements.makeIterableIterator_()
|
||||
var it = newElements.makeBorrowingIterator_()
|
||||
while true {
|
||||
let span = try it.nextSpan_()
|
||||
if span.isEmpty { break }
|
||||
|
||||
Reference in new issue
Block a user