Update Sources/BasicContainers/UniqueArray/UniqueArray.swift

Co-authored-by: Karoy Lorentey <klorentey@apple.com>
This commit is contained in:
Alejandro AlonsoandKaroy Lorentey authored and Karoy Lorentey committed 2026-06-17 13:48:54 -07:00
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