mirror of
https://github.com/apple/swift-collections
synced 2026-11-27 04:54:21 +00:00
Renaming BorrowingSequence_ to Iterable_
This commit is contained in:
1 parent
232e6aeacf
commit
4bda43f4a9
53 files changed
+197
-197
No files matched your search
@@ -20,16 +20,16 @@ import ContainersPreview
|
||||
|
||||
#if compiler(>=6.4) && UnstableContainersPreview
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray: BorrowingSequence_ where Element: ~Copyable {
|
||||
public typealias BorrowingIterator_ = RigidArray<Element>.BorrowingIterator_
|
||||
extension UniqueArray: Iterable_ where Element: ~Copyable {
|
||||
public typealias IterableIterator_ = RigidArray<Element>.IterableIterator_
|
||||
|
||||
@inlinable
|
||||
public var underestimatedCount_: Int { count }
|
||||
|
||||
@_alwaysEmitIntoClient
|
||||
@inline(__always)
|
||||
public func makeBorrowingIterator_() -> BorrowingIterator_ {
|
||||
self._storage.makeBorrowingIterator_()
|
||||
public func makeIterableIterator_() -> IterableIterator_ {
|
||||
self._storage.makeIterableIterator_()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user