mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
Add second parameter to Container.makeBorrowingIterator(from:to:)
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user