diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray.swift b/Sources/BasicContainers/UniqueArray/UniqueArray.swift index df9fd7f8..007b03aa 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray.swift @@ -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