mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
Remove obsolete/disabled APIs
This commit is contained in:
2 files changed
-58
No files matched your search
@@ -39,27 +39,6 @@ extension UniqueArray /*where Element: Copyable*/ {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if false // TODO
|
||||
extension UniqueArray where Element: ~Copyable {
|
||||
@inlinable
|
||||
@inline(__always)
|
||||
@_lifetime(borrow self)
|
||||
public func borrowElement(at index: Int) -> Ref<Element> {
|
||||
_storage.borrowElement(at: index)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if false // TODO
|
||||
extension UniqueArray where Element: ~Copyable {
|
||||
@inlinable
|
||||
@_lifetime(&self)
|
||||
public mutating func mutateElement(at index: Int) -> Mut<Element> {
|
||||
_storage.mutateElement(at: index)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if false // TODO
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray where Element: ~Copyable {
|
||||
|
||||
Reference in new issue
Block a user