mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
[ContainersPreview] Exhibit A in the case against prototyping things in the stdlib 😞
This commit is contained in:
56 files changed
+200
-98
No files matched your search
@@ -304,6 +304,7 @@ extension UniqueArray {
|
||||
}
|
||||
|
||||
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
@available(SwiftStdlib 6.4, *)
|
||||
@inlinable
|
||||
internal mutating func _append<
|
||||
Source: BorrowingSequence<Element> & ~Copyable & ~Escapable
|
||||
@@ -336,6 +337,7 @@ extension UniqueArray {
|
||||
///
|
||||
/// - Complexity: O(`newElements.count`), when amortized over many invocations
|
||||
/// over the same array.
|
||||
@available(SwiftStdlib 6.4, *)
|
||||
@_alwaysEmitIntoClient
|
||||
@inline(__always)
|
||||
public mutating func append<
|
||||
@@ -390,6 +392,7 @@ extension UniqueArray {
|
||||
///
|
||||
/// - Complexity: O(`newElements.count`), when amortized over many invocations
|
||||
/// over the same array.
|
||||
@available(SwiftStdlib 6.4, *)
|
||||
@_alwaysEmitIntoClient
|
||||
@inline(__always)
|
||||
public mutating func append<
|
||||
|
||||
Reference in new issue
Block a user