Add second parameter to Container.makeBorrowingIterator(from:to:)

This commit is contained in:
Karoy Lorentey committed 2026-07-21 15:21:45 -07:00
1 parent 98bc1f9965
commit 232dc7f9ee
13 files changed
+140 -81

No files matched your search

@@ -40,9 +40,9 @@ extension UniqueArray: Container where Element: ~Copyable {
@_alwaysEmitIntoClient
@_lifetime(borrow self)
public func makeBorrowingIterator(
from start: Index
from start: Index, to end: Index
) -> BorrowingIterator_ {
_storage.makeBorrowingIterator(from: start)
_storage.makeBorrowingIterator(from: start, to: end)
}
@_alwaysEmitIntoClient