mirror of
https://github.com/apple/swift-collections
synced 2026-11-27 04:54:21 +00:00
Update Sources/BasicContainers/UniqueArray/UniqueArray.swift
Co-authored-by: Karoy Lorentey <klorentey@apple.com>
This commit is contained in:
1 parent
eb5c24f71a
commit
2a39308613
1 file changed
+2
-1
@@ -255,7 +255,8 @@ extension UniqueArray where Element: ~Copyable {
|
||||
/// to its new storage. The old storage is then deallocated.
|
||||
///
|
||||
/// - Parameter newCapacity: The desired new capacity. `newCapacity` must be
|
||||
/// greater than or equal to the current count.
|
||||
/// - Parameter newCapacity: The desired new capacity. The new capacity
|
||||
/// is set to the maximum of `newCapacity` and the current count.
|
||||
///
|
||||
/// - Complexity: O(`count`)
|
||||
@inlinable
|
||||
|
||||
Reference in new issue
Block a user